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.001358/0.001358, allocations: 110 kB / 16.41 MB, free: 6.012 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.00133/0.00133, allocations: 182.8 kB / 17.34 MB, free: 5.629 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8444/0.8444, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.95 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1486, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005684/0.1543, allocations: 4.015 MB / 0.6693 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002129/0.1545, allocations: 159.5 kB / 0.6694 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1546, allocations: 0 / 0.6694 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.1547, allocations: 3.984 kB / 0.6694 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.1547, allocations: 15.92 kB / 0.6695 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1551, allocations: 87.19 kB / 0.6695 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.1552, allocations: 31.91 kB / 0.6696 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1552, allocations: 7.922 kB / 0.6696 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.1552, allocations: 15.94 kB / 0.6696 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.1553, allocations: 15.97 kB / 0.6696 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1553, allocations: 0 / 0.6696 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1555, allocations: 55.81 kB / 0.6697 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.1556, allocations: 7.938 kB / 0.6697 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.1556, allocations: 15.97 kB / 0.6697 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1557, allocations: 39.86 kB / 0.6697 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1557, allocations: 4 kB / 0.6697 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.536e-06/0.1557, allocations: 4 kB / 0.6697 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1557, allocations: 0 / 0.6697 GB, free: 1.234 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.0004578/0.1562, allocations: 339.4 kB / 0.6701 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1562, allocations: 9.109 kB / 0.6701 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1563, allocations: 8.891 kB / 0.6701 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1564, allocations: 160.4 kB / 0.6702 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.1565, allocations: 34.19 kB / 0.6703 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1565, allocations: 4.375 kB / 0.6703 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1566, allocations: 53.61 kB / 0.6703 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1566, allocations: 0 / 0.6703 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1566, allocations: 4 kB / 0.6703 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1567, allocations: 0 / 0.6703 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.1567, allocations: 15.98 kB / 0.6703 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.1572, allocations: 334 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.1572, allocations: 22.52 kB / 0.6707 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.1572, allocations: 8.859 kB / 0.6707 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.1573, allocations: 85.17 kB / 0.6708 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1574, allocations: 34.55 kB / 0.6708 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1574, allocations: 0 / 0.6708 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.1575, allocations: 29.7 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1576, allocations: 59.34 kB / 0.6709 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.1576, allocations: 106 kB / 0.671 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1577, allocations: 25.7 kB / 0.671 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.1577, allocations: 92.03 kB / 0.6711 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.1577, allocations: 7.953 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1578, allocations: 13.72 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1579, allocations: 318.8 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.1579, allocations: 8 kB / 0.6714 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.158, allocations: 17.72 kB / 0.6714 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.158, allocations: 25.64 kB / 0.6715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.158, allocations: 0 / 0.6715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.738e-05/0.1581, allocations: 45.64 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1581, allocations: 4 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1581, allocations: 3.984 kB / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1581, allocations: 0 / 0.6715 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.224e-05/0.1582, allocations: 8.062 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1582, allocations: 4 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1582, allocations: 4 kB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.1582, allocations: 0 / 0.6715 GB, free: 15.11 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.556e-05/0.1583, allocations: 117.7 kB / 0.6716 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1583, allocations: 3.953 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1584, allocations: 124.9 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.6e-05/0.1585, allocations: 184.5 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.53e-05/0.1586, allocations: 184.3 kB / 0.6721 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-05/0.1587, allocations: 176.3 kB / 0.6723 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.159, allocations: 417.1 kB / 0.6727 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.159, allocations: 105 kB / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.1591, allocations: 104.9 kB / 0.6729 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.887e-05/0.1591, allocations: 180.3 kB / 0.6731 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.808e-05/0.1592, allocations: 180.3 kB / 0.6732 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.591e-05/0.1593, allocations: 180.2 kB / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.258e-05/0.1594, allocations: 180.3 kB / 0.6736 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1596, allocations: 311.7 kB / 0.6739 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.1597, allocations: 178.1 kB / 0.674 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.1598, allocations: 192.2 kB / 0.6742 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1599, allocations: 109 kB / 0.6743 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.16, allocations: 180.2 kB / 0.6745 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.1601, allocations: 105 kB / 0.6746 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.1601, allocations: 87.27 kB / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 0 / 0.6747 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000253/0.1604, allocations: 15.94 kB / 0.6747 GB, free: 11.65 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.0002919/0.1607, allocations: 198.4 kB / 0.6749 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.061e-05/0.1607, allocations: 11.94 kB / 0.6749 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1607, allocations: 8.062 kB / 0.6749 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1607, allocations: 0 / 0.6749 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1612, allocations: 467.7 kB / 0.6753 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.1615, allocations: 199.7 kB / 0.6755 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1618, allocations: 0.6807 MB / 0.6762 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.1618, allocations: 7.438 kB / 0.6762 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.1618, allocations: 0 / 0.6762 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.002358/0.1642, allocations: 0.7548 MB / 0.6769 GB, free: 9.27 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)