Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009302/0.009302, allocations: 102.4 kB / 15.73 MB, free: 6.477 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.00197/0.00197, allocations: 193.9 kB / 16.67 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9595/0.9595, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.89 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4572, allocations: 80.91 MB / 0.6646 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004521/0.4618, allocations: 3.723 MB / 0.6683 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.462, allocations: 152.8 kB / 0.6684 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.462, allocations: 0 / 0.6684 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.4622, allocations: 5.656 kB / 0.6684 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.4623, allocations: 21.97 kB / 0.6684 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.4626, allocations: 79 kB / 0.6685 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.4627, allocations: 29.05 kB / 0.6685 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.4628, allocations: 1.781 kB / 0.6685 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.4628, allocations: 25.12 kB / 0.6686 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.4629, allocations: 14.67 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4629, allocations: 1.438 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.4634, allocations: 187 kB / 0.6688 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.4635, allocations: 10.33 kB / 0.6688 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.4635, allocations: 12.95 kB / 0.6688 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.4637, allocations: 42.27 kB / 0.6688 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4637, allocations: 1.156 kB / 0.6688 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4637, allocations: 3.938 kB / 0.6688 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.4637, allocations: 0 / 0.6688 GB, free: 4.176 MB / 0.4981 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.0003681/0.4641, allocations: 328.5 kB / 0.6691 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4641, allocations: 14.47 kB / 0.6691 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.4642, allocations: 2.281 kB / 0.6692 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/0.4643, allocations: 170.1 kB / 0.6693 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.4643, allocations: 32.33 kB / 0.6693 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4643, allocations: 1.906 kB / 0.6693 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4645, allocations: 54.94 kB / 0.6694 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.4645, allocations: 0 / 0.6694 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4645, allocations: 1.406 kB / 0.6694 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4645, allocations: 1.156 kB / 0.6694 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.4646, allocations: 21.17 kB / 0.6694 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.465, allocations: 333.5 kB / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.642e-05/0.465, allocations: 19.58 kB / 0.6698 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.465, allocations: 6.266 kB / 0.6698 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.026e-05/0.4651, allocations: 86.28 kB / 0.6698 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.4651, allocations: 35.84 kB / 0.6699 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.4651, allocations: 0 / 0.6699 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.4653, allocations: 36.11 kB / 0.6699 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4653, allocations: 51.41 kB / 0.67 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.4654, allocations: 104.8 kB / 0.6701 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.4654, allocations: 25.7 kB / 0.6701 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.4654, allocations: 89.64 kB / 0.6702 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.4654, allocations: 11.83 kB / 0.6702 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.4655, allocations: 18.31 kB / 0.6702 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.4655, allocations: 320.1 kB / 0.6705 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.4655, allocations: 1.656 kB / 0.6705 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.4656, allocations: 17.89 kB / 0.6705 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.4656, allocations: 24.22 kB / 0.6705 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4656, allocations: 0 / 0.6705 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.563e-05/0.4657, allocations: 51.34 kB / 0.6706 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4657, allocations: 5.531 kB / 0.6706 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4657, allocations: 3.938 kB / 0.6706 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4657, allocations: 1.219 kB / 0.6706 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.4658, allocations: 8.562 kB / 0.6706 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4658, allocations: 1.156 kB / 0.6706 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.4658, allocations: 1.219 kB / 0.6706 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.4658, allocations: 1.281 kB / 0.6706 GB, free: 2.191 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.4659, allocations: 122 kB / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4659, allocations: 1.188 kB / 0.6707 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.466, allocations: 115.5 kB / 0.6708 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.466, allocations: 189.7 kB / 0.671 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.4661, allocations: 180.2 kB / 0.6712 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.4661, allocations: 185.3 kB / 0.6714 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4662, allocations: 417.2 kB / 0.6718 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.4663, allocations: 101 kB / 0.6719 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.4663, allocations: 106.2 kB / 0.672 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/0.4663, allocations: 177.8 kB / 0.6721 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.4663, allocations: 180.2 kB / 0.6723 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.333e-05/0.4664, allocations: 189.4 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.241e-05/0.4664, allocations: 181.3 kB / 0.6727 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.4666, allocations: 304.7 kB / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.4667, allocations: 191 kB / 0.6731 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.4668, allocations: 177.6 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.4669, allocations: 107.6 kB / 0.6734 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.467, allocations: 185.2 kB / 0.6736 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.4671, allocations: 102.2 kB / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.4671, allocations: 84.59 kB / 0.6738 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4671, allocations: 0 / 0.6738 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002385/0.4674, allocations: 16.84 kB / 0.6738 GB, free: 14.77 MB / 0.5137 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 (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.0002501/0.4676, allocations: 203.6 kB / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.339e-05/0.4677, allocations: 14.05 kB / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4677, allocations: 1.125 kB / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4677, allocations: 0 / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4681, allocations: 463.7 kB / 0.6744 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.4684, allocations: 189.5 kB / 0.6746 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.4687, allocations: 0.6716 MB / 0.6753 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.4687, allocations: 11.91 kB / 0.6753 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.4687, allocations: 10.19 kB / 0.6753 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.4687, allocations: 4 kB / 0.6753 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.003118/0.4719, allocations: 0.6382 MB / 0.6759 GB, free: 12.89 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)