Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009767, allocations: 105.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 294 kB / 291.3 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8772/0.8772, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 96.23 kB / 0.5959 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1649, allocations: 86.98 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00267/0.1676, allocations: 1.383 MB / 0.6822 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.1713, allocations: 2.891 MB / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.1714, allocations: 0 / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.1715, allocations: 7.938 kB / 0.685 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1716, allocations: 43.8 kB / 0.6851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.1722, allocations: 191.1 kB / 0.6852 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1725, allocations: 239.5 kB / 0.6855 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.1725, allocations: 16.19 kB / 0.6855 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1727, allocations: 91.86 kB / 0.6856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1728, allocations: 119.7 kB / 0.6857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1729, allocations: 12 kB / 0.6857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.1733, allocations: 135.9 kB / 0.6858 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1734, allocations: 83.81 kB / 0.6859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1735, allocations: 103.5 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.1739, allocations: 271.3 kB / 0.6863 GB, free: 2.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1739, allocations: 0 / 0.6863 GB, free: 2.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1739, allocations: 0 / 0.6863 GB, free: 2.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1739, allocations: 0 / 0.6863 GB, free: 2.625 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000819/0.1748, allocations: 0.5375 MB / 0.6868 GB, free: 2.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1748, allocations: 12.03 kB / 0.6868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1749, allocations: 20.75 kB / 0.6868 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1752, allocations: 232.1 kB / 0.687 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.1752, allocations: 28.36 kB / 0.6871 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1753, allocations: 12.38 kB / 0.6871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.1759, allocations: 286.8 kB / 0.6874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1759, allocations: 0 / 0.6874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1759, allocations: 8 kB / 0.6874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.176, allocations: 4 kB / 0.6874 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.1773, allocations: 0.7488 MB / 0.6881 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1777, allocations: 305.3 kB / 0.6884 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2513/0.4289, allocations: 0.6834 MB / 0.6891 GB, free: 18.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.4295, allocations: 232.6 kB / 0.6893 GB, free: 18.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.4298, allocations: 389.5 kB / 0.6896 GB, free: 18.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4298, allocations: 36.98 kB / 0.6897 GB, free: 18.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.063e-06/0.4299, allocations: 0 / 0.6897 GB, free: 18.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001581/0.4314, allocations: 0.6519 MB / 0.6903 GB, free: 18.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.4315, allocations: 55.69 kB / 0.6904 GB, free: 18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.4316, allocations: 126.5 kB / 0.6905 GB, free: 17.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4316, allocations: 30.42 kB / 0.6905 GB, free: 17.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.4316, allocations: 91.52 kB / 0.6906 GB, free: 17.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.4317, allocations: 127.6 kB / 0.6907 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.4318, allocations: 66.75 kB / 0.6908 GB, free: 17.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.4318, allocations: 329.5 kB / 0.6911 GB, free: 17.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.4323, allocations: 193 kB / 0.6913 GB, free: 17.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.4328, allocations: 196.3 kB / 0.6915 GB, free: 17.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008668/0.4337, allocations: 378.2 kB / 0.6918 GB, free: 17.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4337, allocations: 3.312 kB / 0.6918 GB, free: 17.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001027/0.4347, allocations: 465.1 kB / 0.6923 GB, free: 17.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4347, allocations: 6 kB / 0.6923 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4348, allocations: 0 / 0.6923 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4348, allocations: 2.328 kB / 0.6923 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.4351, allocations: 96.39 kB / 0.6924 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4351, allocations: 2.078 kB / 0.6924 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4353, allocations: 49.19 kB / 0.6924 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.4354, allocations: 16.05 kB / 0.6924 GB, free: 17.31 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.4355, allocations: 147.1 kB / 0.6926 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.4355, allocations: 16.28 kB / 0.6926 GB, free: 17.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.4366, allocations: 0.5166 MB / 0.6931 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4367, allocations: 4.562 kB / 0.6931 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4367, allocations: 0.6094 kB / 0.6931 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4367, allocations: 5.969 kB / 0.6931 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.437, allocations: 318.1 kB / 0.6934 GB, free: 16.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.437, allocations: 0 / 0.6934 GB, free: 16.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.4373, allocations: 98.53 kB / 0.6935 GB, free: 16.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4373, allocations: 1.5 kB / 0.6935 GB, free: 16.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.4373, allocations: 11.08 kB / 0.6935 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4373, allocations: 1.516 kB / 0.6935 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4373, allocations: 1 kB / 0.6935 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4384, allocations: 0.4924 MB / 0.694 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.4384, allocations: 95.34 kB / 0.6941 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4385, allocations: 8.578 kB / 0.6941 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4386, allocations: 34.73 kB / 0.6941 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.4389, allocations: 121.7 kB / 0.6943 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4389, allocations: 11.25 kB / 0.6943 GB, free: 16.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.439, allocations: 106.5 kB / 0.6944 GB, free: 16.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.439, allocations: 0.6875 kB / 0.6944 GB, free: 16.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.4393, allocations: 111.4 kB / 0.6945 GB, free: 16.42 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002855/0.4396, allocations: 194 kB / 0.6947 GB, free: 16.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.4408, allocations: 0.561 MB / 0.6952 GB, free: 16.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4408, allocations: 5.062 kB / 0.6952 GB, free: 16.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.4414, allocations: 255.4 kB / 0.6955 GB, free: 16.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4417, allocations: 89.06 kB / 0.6955 GB, free: 16.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.4424, allocations: 456.8 kB / 0.696 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.4426, allocations: 0.7313 MB / 0.6967 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4427, allocations: 48.61 kB / 0.6967 GB, free: 15.21 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4427, allocations: 4 kB / 0.6967 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Templates: time 0.007218/0.45, allocations: 4.748 MB / 0.7014 GB, free: 14.76 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)