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.001594/0.001594, allocations: 106.4 kB / 16.41 MB, free: 5.973 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.001482/0.001482, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.81/0.81, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 66.23 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1445, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005335/0.1498, allocations: 3.726 MB / 0.6689 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001923/0.1501, allocations: 155.5 kB / 0.6691 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1501, allocations: 0 / 0.6691 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.1502, allocations: 3.938 kB / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.1503, allocations: 15.92 kB / 0.6691 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1506, allocations: 83.75 kB / 0.6692 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.1507, allocations: 35.84 kB / 0.6692 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.1507, allocations: 0 / 0.6692 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.1508, allocations: 19.97 kB / 0.6692 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.1508, allocations: 7.938 kB / 0.6692 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1509, allocations: 7.938 kB / 0.6692 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1514, allocations: 195.4 kB / 0.6694 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.1514, allocations: 0 / 0.6694 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.1514, allocations: 15.92 kB / 0.6694 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1516, allocations: 43.89 kB / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1516, allocations: 0 / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1516, allocations: 0 / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.1516, allocations: 0 / 0.6695 GB, free: 1.473 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.0003779/0.152, allocations: 331.6 kB / 0.6698 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.152, allocations: 9.109 kB / 0.6698 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1521, allocations: 8.844 kB / 0.6698 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1522, allocations: 172.3 kB / 0.67 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.1522, allocations: 30.27 kB / 0.67 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.1523, allocations: 384 / 0.67 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1524, allocations: 45.62 kB / 0.6701 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1524, allocations: 0 / 0.6701 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1524, allocations: 3.938 kB / 0.6701 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1524, allocations: 7.922 kB / 0.6701 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.1525, allocations: 19.98 kB / 0.6701 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1529, allocations: 338 kB / 0.6704 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.211e-05/0.1529, allocations: 22.52 kB / 0.6704 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.153, allocations: 4.859 kB / 0.6704 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/0.1531, allocations: 89.16 kB / 0.6705 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1531, allocations: 34.5 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1531, allocations: 4 kB / 0.6706 GB, free: 176 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1532, allocations: 33.7 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1533, allocations: 55.41 kB / 0.6706 GB, free: 68 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1534, allocations: 101.8 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1534, allocations: 25.7 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1535, allocations: 84.05 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-06/0.1535, allocations: 7.906 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1535, allocations: 21.7 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.1536, allocations: 318.9 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.1536, allocations: 4 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.1537, allocations: 17.64 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.1537, allocations: 21.72 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1537, allocations: 0 / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.414e-05/0.1538, allocations: 53.62 kB / 0.6713 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1538, allocations: 8 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1538, allocations: 3.984 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1538, allocations: 0 / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.1539, allocations: 4 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1539, allocations: 4 kB / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1539, allocations: 0 / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1539, 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 7.562e-05/0.154, allocations: 119.1 kB / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.154, allocations: 8.047 kB / 0.6714 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1541, allocations: 124.8 kB / 0.6715 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/0.1542, allocations: 176.3 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-05/0.1543, allocations: 184.2 kB / 0.6719 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.663e-05/0.1543, allocations: 184.3 kB / 0.672 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1546, allocations: 405.2 kB / 0.6724 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/0.1546, allocations: 108.9 kB / 0.6725 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.1546, allocations: 104.9 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-05/0.1547, allocations: 184.2 kB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.1548, allocations: 180.3 kB / 0.673 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-05/0.1548, allocations: 184.2 kB / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.599e-05/0.1549, allocations: 184.2 kB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.155, allocations: 311.6 kB / 0.6736 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.1551, allocations: 182.1 kB / 0.6738 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.1552, allocations: 184.2 kB / 0.674 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1553, allocations: 108.9 kB / 0.6741 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.1554, allocations: 192.2 kB / 0.6743 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.1554, allocations: 108.9 kB / 0.6744 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.1555, allocations: 79.28 kB / 0.6744 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1555, allocations: 0 / 0.6744 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002364/0.1557, allocations: 12 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.0002294/0.156, allocations: 206.4 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.654e-05/0.156, allocations: 8 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1561, allocations: 0 / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.1561, allocations: 4 kB / 0.6747 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1564, allocations: 461.6 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.000244/0.1567, allocations: 207.7 kB / 0.6753 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1569, allocations: 0.6729 MB / 0.676 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.157, allocations: 7.438 kB / 0.676 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.157, allocations: 0 / 0.676 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.001931/0.1589, allocations: 0.7525 MB / 0.6767 GB, free: 9.512 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)