Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 172.8 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6201/0.6201, allocations: 86.27 MB / 103.8 MB, free: 14.33 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 348.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008634, allocations: 88.05 kB / 420.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004216, allocations: 12 kB / 0.4901 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4709, allocations: 71.02 MB / 0.5594 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.643, allocations: 386.1 MB / 0.9365 GB, free: 243.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.644, allocations: 69.2 kB / 0.9366 GB, free: 243.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03594/1.68, allocations: 18.71 MB / 0.9548 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/1.68, allocations: 0 / 0.9548 GB, free: 229.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.68, allocations: 0 / 0.9548 GB, free: 229.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003879/1.68, allocations: 359.4 kB / 0.9552 GB, free: 228.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.68, allocations: 11.97 kB / 0.9552 GB, free: 228.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/1.68, allocations: 4.844 kB / 0.9552 GB, free: 228.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/1.68, allocations: 172.4 kB / 0.9554 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/1.68, allocations: 34.25 kB / 0.9554 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/1.68, allocations: 4.375 kB / 0.9554 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.681, allocations: 38.25 kB / 0.9554 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.681, allocations: 3.938 kB / 0.9554 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.681, allocations: 4 kB / 0.9555 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.681, allocations: 0 / 0.9555 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/1.681, allocations: 15.98 kB / 0.9555 GB, free: 228.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/1.681, allocations: 334 kB / 0.9558 GB, free: 228.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.218e-05/1.681, allocations: 22.58 kB / 0.9558 GB, free: 228.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/1.681, allocations: 8.859 kB / 0.9558 GB, free: 228.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/1.681, allocations: 81.17 kB / 0.9559 GB, free: 228 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/1.681, allocations: 38.55 kB / 0.9559 GB, free: 228 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.888e-06/1.681, allocations: 0 / 0.9559 GB, free: 228 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/1.681, allocations: 37.64 kB / 0.956 GB, free: 227.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/1.681, allocations: 51.41 kB / 0.956 GB, free: 227.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/1.682, allocations: 110 kB / 0.9561 GB, free: 227.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/1.682, allocations: 25.7 kB / 0.9561 GB, free: 227.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/1.682, allocations: 84.05 kB / 0.9562 GB, free: 227.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-06/1.682, allocations: 7.844 kB / 0.9562 GB, free: 227.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/1.682, allocations: 4 kB / 0.9562 GB, free: 227.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/1.682, allocations: 314.8 kB / 0.9565 GB, free: 227.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/1.682, allocations: 3.984 kB / 0.9565 GB, free: 227.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/1.682, allocations: 13.72 kB / 0.9566 GB, free: 227.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/1.682, allocations: 33.59 kB / 0.9566 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.682, allocations: 7.875 kB / 0.9566 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.019e-05/1.682, allocations: 45.69 kB / 0.9566 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.682, allocations: 8 kB / 0.9566 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.682, allocations: 0 / 0.9566 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.682, allocations: 0 / 0.9566 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/1.682, allocations: 7.938 kB / 0.9567 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.682, allocations: 8.047 kB / 0.9567 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/1.682, allocations: 4 kB / 0.9567 GB, free: 227.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.682, allocations: 3.984 kB / 0.9567 GB, free: 227.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.275e-05/1.682, allocations: 113.8 kB / 0.9568 GB, free: 227 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/1.682, allocations: 0 / 0.9568 GB, free: 227 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/1.682, allocations: 121 kB / 0.9569 GB, free: 226.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/1.682, allocations: 184.2 kB / 0.9571 GB, free: 226.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/1.682, allocations: 176.3 kB / 0.9572 GB, free: 226.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/1.682, allocations: 180.2 kB / 0.9574 GB, free: 226.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/1.682, allocations: 409.2 kB / 0.9578 GB, free: 225.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.682, allocations: 101 kB / 0.9579 GB, free: 225.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/1.682, allocations: 108.9 kB / 0.958 GB, free: 225.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.214e-05/1.683, allocations: 186.8 kB / 0.9582 GB, free: 225.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/1.683, allocations: 180.2 kB / 0.9583 GB, free: 225.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.733e-05/1.683, allocations: 184.3 kB / 0.9585 GB, free: 225.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-05/1.683, allocations: 180.5 kB / 0.9587 GB, free: 224.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.951e-05/1.683, allocations: 319.6 kB / 0.959 GB, free: 224.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/1.683, allocations: 186 kB / 0.9592 GB, free: 224.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/1.683, allocations: 180.3 kB / 0.9593 GB, free: 224.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.683, allocations: 109 kB / 0.9595 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/1.683, allocations: 180.2 kB / 0.9596 GB, free: 223.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/1.683, allocations: 105 kB / 0.9597 GB, free: 223.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3e-05/1.683, allocations: 87.27 kB / 0.9598 GB, free: 223.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/1.683, allocations: 0 / 0.9598 GB, free: 223.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002648/1.683, allocations: 20 kB / 0.9598 GB, free: 223.7 MB / 0.6042 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000237/1.684, allocations: 233.3 kB / 0.9601 GB, free: 223.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.194e-05/1.684, allocations: 15.92 kB / 0.9601 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.684, allocations: 3.938 kB / 0.9601 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/1.684, allocations: 4 kB / 0.9601 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/1.684, allocations: 0.5257 MB / 0.9606 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/1.684, allocations: 196 kB / 0.9608 GB, free: 222.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/1.684, allocations: 0.6731 MB / 0.9614 GB, free: 222 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.193e-05/1.684, allocations: 11.92 kB / 0.9614 GB, free: 222 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/1.684, allocations: 7.438 kB / 0.9614 GB, free: 222 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/1.684, allocations: 0 / 0.9614 GB, free: 222 MB / 0.6042 GB Notification: Performance of Templates: time 0.003151/1.688, allocations: 1.149 MB / 0.9626 GB, free: 220.8 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)