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.001269/0.001269, allocations: 105.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.001193/0.001193, allocations: 191.8 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.404/1.404, 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.8496/0.8496, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.88 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1428, allocations: 80.93 MB / 0.6653 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005461/0.1483, allocations: 3.727 MB / 0.669 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.1485, allocations: 159.5 kB / 0.6691 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.1485, allocations: 0 / 0.6691 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.1486, allocations: 7.922 kB / 0.6691 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.1487, allocations: 15.92 kB / 0.6692 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.149, allocations: 79.75 kB / 0.6692 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.1491, allocations: 35.86 kB / 0.6693 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.1491, allocations: 7.984 kB / 0.6693 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.1492, allocations: 11.98 kB / 0.6693 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.1492, allocations: 15.92 kB / 0.6693 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1493, allocations: 4 kB / 0.6693 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.1498, allocations: 187.4 kB / 0.6695 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.1498, allocations: 0 / 0.6695 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.1498, allocations: 19.91 kB / 0.6695 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.15, allocations: 35.91 kB / 0.6695 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.15, allocations: 8 kB / 0.6696 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.15, allocations: 0 / 0.6696 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.15, allocations: 0 / 0.6696 GB, free: 1.402 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.000414/0.1504, allocations: 335.4 kB / 0.6699 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1504, allocations: 9.109 kB / 0.6699 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1505, allocations: 12.83 kB / 0.6699 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1506, allocations: 168.4 kB / 0.6701 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.1507, allocations: 26.27 kB / 0.6701 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.1507, allocations: 384 / 0.6701 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1508, allocations: 53.61 kB / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1509, allocations: 0 / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1509, allocations: 0 / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1509, allocations: 0 / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.1509, allocations: 19.98 kB / 0.6701 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1514, allocations: 341.8 kB / 0.6705 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.98e-05/0.1514, allocations: 22.58 kB / 0.6705 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.1515, allocations: 4.859 kB / 0.6705 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.1516, allocations: 85.16 kB / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1516, allocations: 38.56 kB / 0.6706 GB, free: 108 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1516, allocations: 0 / 0.6706 GB, free: 108 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.1517, allocations: 33.64 kB / 0.6707 GB, free: 68 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1518, allocations: 51.41 kB / 0.6707 GB, free: 4 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1519, allocations: 110 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1519, allocations: 25.7 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.152, allocations: 84.09 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-06/0.152, allocations: 7.953 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.152, allocations: 21.7 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1522, allocations: 314.8 kB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.1522, allocations: 0 / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.1522, allocations: 17.91 kB / 0.6713 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.1523, allocations: 29.64 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1523, allocations: 0 / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.881e-05/0.1524, allocations: 45.78 kB / 0.6713 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1524, allocations: 8 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1524, allocations: 3.984 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1524, allocations: 0 / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.1525, allocations: 7.938 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1525, allocations: 4.062 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.1525, allocations: 8 kB / 0.6714 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1525, allocations: 0 / 0.6714 GB, free: 15.28 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 8.655e-05/0.1526, allocations: 117.8 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1526, allocations: 3.953 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1528, allocations: 117 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.462e-05/0.1528, allocations: 184.2 kB / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-05/0.1529, allocations: 180.3 kB / 0.6719 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.387e-05/0.153, allocations: 192.1 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1533, allocations: 401.2 kB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.111e-05/0.1534, allocations: 105 kB / 0.6726 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.1534, allocations: 108.9 kB / 0.6727 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.001e-05/0.1535, allocations: 180.3 kB / 0.6729 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.1536, allocations: 188.1 kB / 0.6731 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.891e-05/0.1537, allocations: 180.3 kB / 0.6732 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.247e-05/0.1537, allocations: 180.2 kB / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.1539, allocations: 311.7 kB / 0.6737 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.154, allocations: 182 kB / 0.6739 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.1541, allocations: 184.2 kB / 0.674 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1543, allocations: 101 kB / 0.6741 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.1544, allocations: 192.2 kB / 0.6743 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.1544, allocations: 105 kB / 0.6744 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.05e-05/0.1545, allocations: 83.28 kB / 0.6745 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1545, allocations: 0 / 0.6745 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002514/0.1548, allocations: 15.94 kB / 0.6745 GB, free: 11.81 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.0002303/0.155, allocations: 206.4 kB / 0.6747 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.559e-05/0.1551, allocations: 7.938 kB / 0.6747 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.1551, allocations: 4.125 kB / 0.6747 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1551, allocations: 0 / 0.6747 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.1555, allocations: 463.7 kB / 0.6752 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.1558, allocations: 173.9 kB / 0.6753 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1561, allocations: 0.6768 MB / 0.676 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.1562, allocations: 8 kB / 0.676 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.1562, allocations: 7.438 kB / 0.676 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1562, allocations: 0 / 0.676 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.002986/0.1592, allocations: 0.6437 MB / 0.6766 GB, free: 9.582 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)