Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001298, allocations: 106.9 kB / 16.41 MB, free: 6.496 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.001516/0.001516, allocations: 191 kB / 17.34 MB, free: 5.766 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7796/0.7796, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.41 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1457, allocations: 80.92 MB / 0.6653 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005151/0.1509, allocations: 4.03 MB / 0.6692 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001804/0.1511, allocations: 151.5 kB / 0.6694 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.1511, allocations: 0 / 0.6694 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.065e-05/0.1512, allocations: 7.938 kB / 0.6694 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.1513, allocations: 19.91 kB / 0.6694 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1517, allocations: 75.75 kB / 0.6695 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.873e-05/0.1518, allocations: 31.86 kB / 0.6695 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.1519, allocations: 4 kB / 0.6695 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.1519, allocations: 19.91 kB / 0.6695 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.152, allocations: 12 kB / 0.6695 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.152, allocations: 0 / 0.6695 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.1522, allocations: 59.8 kB / 0.6696 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.1523, allocations: 11.98 kB / 0.6696 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1523, allocations: 7.938 kB / 0.6696 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1525, allocations: 47.83 kB / 0.6696 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1525, allocations: 0 / 0.6696 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1525, allocations: 0 / 0.6696 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.1525, allocations: 0 / 0.6696 GB, free: 1.445 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.0005609/0.1531, allocations: 335.5 kB / 0.67 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.1532, allocations: 13.11 kB / 0.67 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.1532, allocations: 8.922 kB / 0.67 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1534, allocations: 164.3 kB / 0.6701 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.421e-05/0.1535, allocations: 30.27 kB / 0.6702 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1535, allocations: 384 / 0.6702 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1537, allocations: 45.62 kB / 0.6702 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1537, allocations: 0 / 0.6702 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1538, allocations: 7.984 kB / 0.6702 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.1538, allocations: 0 / 0.6702 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.1539, allocations: 8 kB / 0.6702 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.1545, allocations: 342 kB / 0.6706 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.1545, allocations: 22.64 kB / 0.6706 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.1545, allocations: 8.844 kB / 0.6706 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1547, allocations: 81.11 kB / 0.6707 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1547, allocations: 30.56 kB / 0.6707 GB, free: 172 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1547, allocations: 4 kB / 0.6707 GB, free: 168 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.1549, allocations: 41.62 kB / 0.6707 GB, free: 120 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.155, allocations: 55.34 kB / 0.6708 GB, free: 52 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1551, allocations: 105.8 kB / 0.6709 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1551, allocations: 25.7 kB / 0.6709 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1552, allocations: 96.02 kB / 0.671 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.1552, allocations: 0 / 0.671 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.1552, allocations: 13.72 kB / 0.671 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1554, allocations: 318.9 kB / 0.6713 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.1554, allocations: 8 kB / 0.6713 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.1555, allocations: 17.7 kB / 0.6713 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.1555, allocations: 25.66 kB / 0.6714 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1555, allocations: 0 / 0.6714 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.683e-05/0.1556, allocations: 53.59 kB / 0.6714 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1556, allocations: 7.938 kB / 0.6714 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1557, allocations: 4 kB / 0.6714 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1557, allocations: 288 / 0.6714 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.1557, allocations: 7.938 kB / 0.6714 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1558, allocations: 0 / 0.6714 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.1558, allocations: 0 / 0.6714 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1558, allocations: 7.984 kB / 0.6714 GB, free: 15.32 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.623e-05/0.1559, allocations: 109.8 kB / 0.6716 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1559, allocations: 16.05 kB / 0.6716 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1561, allocations: 117 kB / 0.6717 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-05/0.1562, allocations: 184.2 kB / 0.6719 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.784e-05/0.1562, allocations: 176.3 kB / 0.672 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.538e-05/0.1563, allocations: 184.2 kB / 0.6722 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.1566, allocations: 413.2 kB / 0.6726 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/0.1567, allocations: 101 kB / 0.6727 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.1568, allocations: 108.9 kB / 0.6728 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-05/0.1568, allocations: 176.3 kB / 0.673 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.1569, allocations: 184.2 kB / 0.6731 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-05/0.157, allocations: 176.3 kB / 0.6733 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.17e-05/0.1571, allocations: 188.3 kB / 0.6735 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1572, allocations: 303.7 kB / 0.6738 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.1573, allocations: 193.9 kB / 0.674 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/0.1574, allocations: 176.3 kB / 0.6741 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1576, allocations: 113 kB / 0.6742 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.1577, allocations: 180.2 kB / 0.6744 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.1578, allocations: 108.9 kB / 0.6745 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.1578, allocations: 83.28 kB / 0.6746 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.1578, allocations: 0 / 0.6746 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000319/0.1582, allocations: 19.92 kB / 0.6746 GB, free: 11.86 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.0003365/0.1585, allocations: 199.8 kB / 0.6748 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.1586, allocations: 15.92 kB / 0.6748 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1586, allocations: 0 / 0.6748 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.1586, allocations: 0 / 0.6748 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.159, allocations: 459.8 kB / 0.6753 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1594, allocations: 215.6 kB / 0.6755 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1597, allocations: 0.669 MB / 0.6761 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1597, allocations: 15.42 kB / 0.6761 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.1597, allocations: 0 / 0.6761 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.002451/0.1622, allocations: 0.753 MB / 0.6769 GB, free: 9.484 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)