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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8494/0.8494, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 184 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009393, allocations: 95.55 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 280.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.512e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4143, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7886/1.203, allocations: 397.1 MB / 1.145 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.203, allocations: 72.28 kB / 1.145 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4263/1.63, allocations: 25.76 MB / 1.17 GB, free: 270.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/1.63, allocations: 0 / 1.17 GB, free: 270.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.63, allocations: 2.25 kB / 1.17 GB, free: 270.9 MB / 0.698 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.0008212/1.63, allocations: 0.4942 MB / 1.171 GB, free: 270.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.63, allocations: 9.062 kB / 1.171 GB, free: 270.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/1.631, allocations: 21.44 kB / 1.171 GB, free: 270.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.631, allocations: 209.4 kB / 1.171 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/1.631, allocations: 7.875 kB / 1.171 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.631, allocations: 10.28 kB / 1.171 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006739/1.632, allocations: 408.5 kB / 1.172 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/1.632, allocations: 218.9 kB / 1.172 GB, free: 270.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.632, allocations: 1.406 kB / 1.172 GB, free: 270.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.632, allocations: 1.281 kB / 1.172 GB, free: 270.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/1.632, allocations: 5.281 kB / 1.172 GB, free: 270.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/1.633, allocations: 0.9925 MB / 1.173 GB, free: 269.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/1.633, allocations: 141.1 kB / 1.173 GB, free: 269.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/1.633, allocations: 54.34 kB / 1.173 GB, free: 269.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/1.635, allocations: 1.939 MB / 1.175 GB, free: 267.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/1.635, allocations: 39.91 kB / 1.175 GB, free: 267.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/1.635, allocations: 0 / 1.175 GB, free: 267.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004583/1.635, allocations: 132.1 kB / 1.175 GB, free: 267.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/1.635, allocations: 53.53 kB / 1.175 GB, free: 267.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/1.635, allocations: 136.8 kB / 1.175 GB, free: 267.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.635, allocations: 26.98 kB / 1.175 GB, free: 267.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/1.635, allocations: 142.4 kB / 1.175 GB, free: 267 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/1.635, allocations: 51.27 kB / 1.175 GB, free: 267 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.635, allocations: 2.156 kB / 1.175 GB, free: 267 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/1.635, allocations: 327.6 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/1.635, allocations: 30.09 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/1.636, allocations: 134.3 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/1.636, allocations: 75.88 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.636, allocations: 6.031 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004528/1.636, allocations: 205.9 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.636, allocations: 6.125 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.636, allocations: 7.531 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.636, allocations: 5.156 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.637, allocations: 62.8 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.637, allocations: 10.92 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/1.637, allocations: 14.84 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/1.637, allocations: 19.31 kB / 1.176 GB, free: 266.5 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/1.637, allocations: 118 kB / 1.176 GB, free: 266.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/1.637, allocations: 19.38 kB / 1.176 GB, free: 266.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/1.637, allocations: 170.5 kB / 1.177 GB, free: 266.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.637, allocations: 2.281 kB / 1.177 GB, free: 266.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.637, allocations: 1.906 kB / 1.177 GB, free: 266.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.637, allocations: 3.797 kB / 1.177 GB, free: 266.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/1.637, allocations: 184 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.637, allocations: 0 / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.638, allocations: 28.33 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.638, allocations: 1.125 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.638, allocations: 8.719 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/1.638, allocations: 4.375 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.638, allocations: 3.656 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/1.638, allocations: 235.2 kB / 1.177 GB, free: 266 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/1.638, allocations: 119 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/1.638, allocations: 0.5 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/1.638, allocations: 18.48 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/1.638, allocations: 9.375 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/1.638, allocations: 5.562 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.089e-05/1.638, allocations: 105.8 kB / 1.177 GB, free: 265.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.638, allocations: 0 / 1.177 GB, free: 265.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004489/1.639, allocations: 82.17 kB / 1.177 GB, free: 265.8 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003194/1.639, allocations: 220.4 kB / 1.178 GB, free: 265.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002201/1.639, allocations: 102.5 kB / 1.178 GB, free: 265.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.639, allocations: 0.6562 kB / 1.178 GB, free: 265.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/1.64, allocations: 38.62 kB / 1.178 GB, free: 265.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/1.64, allocations: 37.22 kB / 1.178 GB, free: 265.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/1.64, allocations: 168.2 kB / 1.178 GB, free: 265.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/1.64, allocations: 0.7175 MB / 1.179 GB, free: 264.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001528/1.641, allocations: 44.45 kB / 1.179 GB, free: 264.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/1.641, allocations: 20.72 kB / 1.179 GB, free: 264.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.641, allocations: 0 / 1.179 GB, free: 264.9 MB / 0.698 GB Notification: Performance of Templates: time 0.005917/1.647, allocations: 2.925 MB / 1.181 GB, free: 264.7 MB / 0.698 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)