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.0009664/0.0009665, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008615/0.008615, allocations: 169.5 kB / 16.26 MB, free: 6.66 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 270.6 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9338/0.9338, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 12.47 kB / 0.5986 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.004934/0.1635, allocations: 4.089 MB / 0.6891 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1666, allocations: 2.671 MB / 0.6917 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.1667, allocations: 0 / 0.6917 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.167, allocations: 45.5 kB / 0.6918 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1672, allocations: 91.44 kB / 0.6918 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1684, allocations: 441 kB / 0.6923 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1687, allocations: 311.8 kB / 0.6926 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1688, allocations: 9.562 kB / 0.6926 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009108/0.1697, allocations: 407 kB / 0.693 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1698, allocations: 91.66 kB / 0.6931 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1698, allocations: 7.938 kB / 0.6931 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.1707, allocations: 0.495 MB / 0.6935 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1708, allocations: 35.89 kB / 0.6936 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.383e-05/0.1709, allocations: 101.4 kB / 0.6937 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.1714, allocations: 347.1 kB / 0.694 GB, free: 5.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1714, allocations: 4 kB / 0.694 GB, free: 5.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1714, allocations: 0 / 0.694 GB, free: 5.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1715, allocations: 0 / 0.694 GB, free: 5.949 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006239/0.1721, allocations: 475.2 kB / 0.6945 GB, free: 5.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1721, allocations: 12.03 kB / 0.6945 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1723, allocations: 28.73 kB / 0.6945 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1725, allocations: 208.1 kB / 0.6947 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1725, allocations: 12.7 kB / 0.6947 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1725, allocations: 16.38 kB / 0.6947 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1729, allocations: 245.7 kB / 0.695 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1729, allocations: 4 kB / 0.695 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.1729, allocations: 15.92 kB / 0.695 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.173, allocations: 8 kB / 0.695 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.1734, allocations: 431.5 kB / 0.6954 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.1744, allocations: 1.004 MB / 0.6964 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1746, allocations: 151.8 kB / 0.6965 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.1747, allocations: 62.19 kB / 0.6966 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.176, allocations: 1.829 MB / 0.6984 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.176, allocations: 34.56 kB / 0.6984 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.176, allocations: 0 / 0.6984 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002943/0.1763, allocations: 153.3 kB / 0.6985 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1764, allocations: 59.34 kB / 0.6986 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1765, allocations: 176.9 kB / 0.6988 GB, free: 464 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1765, allocations: 29.7 kB / 0.6988 GB, free: 428 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.1766, allocations: 135.8 kB / 0.6989 GB, free: 288 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1767, allocations: 51.27 kB / 0.699 GB, free: 236 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1767, allocations: 29.7 kB / 0.699 GB, free: 200 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1768, allocations: 326.8 kB / 0.6993 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.1769, allocations: 31.97 kB / 0.6993 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.177, allocations: 146.8 kB / 0.6995 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1772, allocations: 195.8 kB / 0.6997 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1772, allocations: 4 kB / 0.6997 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002975/0.1775, allocations: 213.1 kB / 0.6999 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1776, allocations: 8 kB / 0.6999 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1776, allocations: 7.938 kB / 0.6999 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1776, allocations: 4 kB / 0.6999 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1778, allocations: 55.86 kB / 0.7 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1778, allocations: 12.45 kB / 0.7 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1779, allocations: 27.75 kB / 0.7 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1779, allocations: 12 kB / 0.7 GB, free: 15.06 MB / 0.4981 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.0001017/0.178, allocations: 133.7 kB / 0.7001 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1781, allocations: 11.91 kB / 0.7001 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.1784, allocations: 164.6 kB / 0.7003 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.1784, allocations: 11.88 kB / 0.7003 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1784, allocations: 0 / 0.7003 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1784, allocations: 4 kB / 0.7003 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1786, allocations: 213.6 kB / 0.7005 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1786, allocations: 4 kB / 0.7005 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.1787, allocations: 23.94 kB / 0.7005 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1787, allocations: 0 / 0.7005 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1788, allocations: 11.98 kB / 0.7006 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1788, allocations: 3.938 kB / 0.7006 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1788, allocations: 0 / 0.7006 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.179, allocations: 219.2 kB / 0.7008 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.1791, allocations: 116.8 kB / 0.7009 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1791, allocations: 0 / 0.7009 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1793, allocations: 23.92 kB / 0.7009 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1794, allocations: 7.984 kB / 0.7009 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1794, allocations: 15.98 kB / 0.7009 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.1795, allocations: 119.2 kB / 0.701 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1795, allocations: 0 / 0.701 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003673/0.1799, allocations: 83.98 kB / 0.7011 GB, free: 13.82 MB / 0.4981 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.0002859/0.1801, allocations: 175 kB / 0.7013 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1804, allocations: 122.1 kB / 0.7014 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1804, allocations: 0 / 0.7014 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.1804, allocations: 43.92 kB / 0.7014 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.1809, allocations: 51.94 kB / 0.7015 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.1815, allocations: 446.8 kB / 0.7019 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1817, allocations: 0.7092 MB / 0.7026 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.1819, allocations: 49.73 kB / 0.7027 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.182, allocations: 23.44 kB / 0.7027 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.182, allocations: 0 / 0.7027 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.006303/0.1883, allocations: 3.234 MB / 0.7058 GB, free: 8.98 MB / 0.4981 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)