Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 105.4 kB / 15.99 MB, free: 6.336 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.001422/0.001423, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002395/0.002395, allocations: 294.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.117/1.117, allocations: 178.5 MB / 0.5076 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 99.84 kB / 0.6066 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1568, allocations: 89.14 MB / 0.6936 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006109/0.163, allocations: 4.466 MB / 0.698 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1659, allocations: 2.675 MB / 0.7006 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.166, allocations: 0 / 0.7006 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1663, allocations: 39.81 kB / 0.7006 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1665, allocations: 91.44 kB / 0.7007 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1677, allocations: 460.8 kB / 0.7012 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1679, allocations: 239.9 kB / 0.7014 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.168, allocations: 9.562 kB / 0.7014 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008875/0.1689, allocations: 419.1 kB / 0.7018 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.169, allocations: 87.67 kB / 0.7019 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.169, allocations: 8 kB / 0.7019 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008579/0.1699, allocations: 0.5028 MB / 0.7024 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.17, allocations: 27.91 kB / 0.7024 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.1701, allocations: 79.66 kB / 0.7025 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.1704, allocations: 239.5 kB / 0.7027 GB, free: 7.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1704, allocations: 0 / 0.7027 GB, free: 7.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1704, allocations: 4 kB / 0.7027 GB, free: 7.074 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1705, allocations: 4 kB / 0.7027 GB, free: 7.07 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007214/0.1712, allocations: 0.4953 MB / 0.7032 GB, free: 6.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1712, allocations: 8.031 kB / 0.7032 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.1714, allocations: 28.67 kB / 0.7032 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1716, allocations: 204.1 kB / 0.7034 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1716, allocations: 12.7 kB / 0.7034 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1717, allocations: 16.38 kB / 0.7034 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.172, allocations: 261 kB / 0.7037 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1721, allocations: 0 / 0.7037 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1721, allocations: 4 kB / 0.7037 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.1721, allocations: 11.98 kB / 0.7037 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1726, allocations: 423.5 kB / 0.7041 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1737, allocations: 1.008 MB / 0.7051 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.174, allocations: 166.1 kB / 0.7053 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1741, allocations: 60.88 kB / 0.7053 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.1756, allocations: 1.825 MB / 0.7071 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1757, allocations: 38.56 kB / 0.7071 GB, free: 1.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.1757, allocations: 0 / 0.7071 GB, free: 1.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003215/0.176, allocations: 151.9 kB / 0.7073 GB, free: 1.805 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1761, allocations: 55.34 kB / 0.7073 GB, free: 1.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1762, allocations: 169.2 kB / 0.7075 GB, free: 1.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.1763, allocations: 29.7 kB / 0.7075 GB, free: 1.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.1764, allocations: 139.8 kB / 0.7077 GB, free: 1.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.1764, allocations: 55.25 kB / 0.7077 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.1765, allocations: 57.61 kB / 0.7078 GB, free: 1.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1766, allocations: 322.8 kB / 0.7081 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.1767, allocations: 35.97 kB / 0.7081 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1769, allocations: 145.6 kB / 0.7082 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1771, allocations: 193.5 kB / 0.7084 GB, free: 492 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.1771, allocations: 4 kB / 0.7084 GB, free: 488 kB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003192/0.1774, allocations: 216.1 kB / 0.7086 GB, free: 268 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1775, allocations: 12.09 kB / 0.7087 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1775, allocations: 4 kB / 0.7087 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1775, allocations: 4 kB / 0.7087 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1777, allocations: 59.84 kB / 0.7087 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1777, allocations: 8 kB / 0.7087 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.1778, allocations: 27.75 kB / 0.7088 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1778, allocations: 12 kB / 0.7088 GB, free: 140 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001088/0.1779, allocations: 129.7 kB / 0.7089 GB, free: 0 / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4378, allocations: 16.27 kB / 0.7089 GB, free: 50.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.4382, allocations: 156.7 kB / 0.7091 GB, free: 50.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4382, allocations: 3.156 kB / 0.7091 GB, free: 50.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4382, allocations: 1.859 kB / 0.7091 GB, free: 50.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4383, allocations: 1.031 kB / 0.7091 GB, free: 50.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.4385, allocations: 217.7 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4385, allocations: 1.031 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4386, allocations: 24.62 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4386, allocations: 2.469 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4387, allocations: 3 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4387, allocations: 4.969 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4387, allocations: 1.781 kB / 0.7093 GB, free: 50.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.4389, allocations: 221.2 kB / 0.7095 GB, free: 50.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.439, allocations: 111.6 kB / 0.7096 GB, free: 50.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.439, allocations: 5.438 kB / 0.7096 GB, free: 50.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.4393, allocations: 16.02 kB / 0.7096 GB, free: 50.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.4393, allocations: 10.06 kB / 0.7096 GB, free: 50.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4393, allocations: 9.5 kB / 0.7097 GB, free: 50.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.999e-05/0.4394, allocations: 123.4 kB / 0.7098 GB, free: 50.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4394, allocations: 1.75 kB / 0.7098 GB, free: 50.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004119/0.4398, allocations: 79.11 kB / 0.7099 GB, free: 50.23 MB / 0.545 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003076/0.4401, allocations: 180.8 kB / 0.71 GB, free: 50.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4404, allocations: 132.3 kB / 0.7102 GB, free: 50.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4404, allocations: 0.75 kB / 0.7102 GB, free: 50.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.18e-05/0.4405, allocations: 49.45 kB / 0.7102 GB, free: 50.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4409, allocations: 56.5 kB / 0.7103 GB, free: 50.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.4415, allocations: 416.3 kB / 0.7106 GB, free: 49.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.4417, allocations: 0.7107 MB / 0.7113 GB, free: 49.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.4418, allocations: 30.95 kB / 0.7114 GB, free: 49.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4418, allocations: 0 / 0.7114 GB, free: 49.2 MB / 0.545 GB Notification: Performance of Templates: time 0.004708/0.4465, allocations: 3.152 MB / 0.7145 GB, free: 48.94 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)