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.001017/0.001017, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.0009948/0.0009949, allocations: 191 kB / 17.34 MB, free: 5.762 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7365/0.7365, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.28 kB / 0.5862 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1269, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00492/0.1319, allocations: 3.727 MB / 0.6689 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.1321, allocations: 159.5 kB / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1322, allocations: 0 / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1323, allocations: 7.938 kB / 0.6691 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/0.1324, allocations: 15.92 kB / 0.6691 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1328, allocations: 75.75 kB / 0.6692 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.1328, allocations: 39.84 kB / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.1329, allocations: 0 / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.1329, allocations: 8 kB / 0.6692 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.133, allocations: 23.91 kB / 0.6692 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.133, allocations: 0 / 0.6692 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.1335, allocations: 187.4 kB / 0.6694 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1336, allocations: 7.984 kB / 0.6694 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.1336, allocations: 11.94 kB / 0.6694 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1337, allocations: 47.89 kB / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1337, allocations: 3.938 kB / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1337, allocations: 0 / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1338, allocations: 0 / 0.6695 GB, free: 1.469 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.0003582/0.1341, allocations: 331.6 kB / 0.6698 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1342, allocations: 17.11 kB / 0.6698 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.1342, allocations: 8.844 kB / 0.6698 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1343, allocations: 164.3 kB / 0.67 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.1344, allocations: 30.27 kB / 0.67 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1344, allocations: 384 / 0.67 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1345, allocations: 53.61 kB / 0.6701 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1345, allocations: 0 / 0.6701 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1345, allocations: 0 / 0.6701 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1346, allocations: 3.938 kB / 0.6701 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.026e-05/0.1346, allocations: 19.92 kB / 0.6701 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.135, allocations: 334 kB / 0.6704 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.231e-05/0.135, allocations: 18.58 kB / 0.6704 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.1351, allocations: 4.859 kB / 0.6704 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.1351, allocations: 89.16 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1352, allocations: 38.56 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1352, allocations: 0 / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.1353, allocations: 37.62 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1354, allocations: 51.41 kB / 0.6706 GB, free: 72 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.1355, allocations: 105.8 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1355, allocations: 29.64 kB / 0.6708 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.1355, allocations: 84.05 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.1355, allocations: 7.891 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1356, allocations: 21.84 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1357, allocations: 318.8 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.1357, allocations: 3.984 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.1357, allocations: 17.72 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.1358, allocations: 21.66 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1358, allocations: 0 / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.902e-05/0.1358, allocations: 49.69 kB / 0.6713 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1359, allocations: 4 kB / 0.6713 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1359, allocations: 4 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1359, allocations: 3.938 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.1359, allocations: 7.984 kB / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1359, allocations: 0 / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.136, allocations: 4 kB / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.136, allocations: 0 / 0.6713 GB, free: 15.35 MB / 0.5137 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 6.808e-05/0.136, allocations: 119.2 kB / 0.6714 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1361, allocations: 4 kB / 0.6714 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.1362, allocations: 121 kB / 0.6715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/0.1362, allocations: 184.2 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.492e-05/0.1363, allocations: 176.3 kB / 0.6719 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.241e-05/0.1364, allocations: 180.2 kB / 0.672 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1366, allocations: 413.2 kB / 0.6724 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/0.1366, allocations: 101 kB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.1366, allocations: 112.9 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.463e-05/0.1367, allocations: 180.2 kB / 0.6728 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.1368, allocations: 180.2 kB / 0.673 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-05/0.1368, allocations: 180.3 kB / 0.6731 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.842e-05/0.1369, allocations: 184.2 kB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.137, allocations: 315.7 kB / 0.6736 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.1371, allocations: 182 kB / 0.6738 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.1371, allocations: 180.2 kB / 0.674 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1373, allocations: 120.9 kB / 0.6741 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.1374, allocations: 176.3 kB / 0.6743 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.1374, allocations: 109 kB / 0.6744 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.1374, allocations: 83.27 kB / 0.6744 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 0.6744 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002455/0.1377, allocations: 16 kB / 0.6745 GB, free: 11.88 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.0002026/0.1379, allocations: 206.4 kB / 0.6746 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.406e-05/0.138, allocations: 8 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.138, allocations: 0 / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.138, allocations: 3.938 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1384, allocations: 465.8 kB / 0.6751 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.1386, allocations: 203.7 kB / 0.6753 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1388, allocations: 0.6768 MB / 0.676 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1388, allocations: 7.438 kB / 0.676 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1388, allocations: 0 / 0.676 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.001889/0.1407, allocations: 0.7588 MB / 0.6767 GB, free: 9.508 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)