Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6961/0.6961, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 403.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 105.3 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 55.91 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1411, allocations: 80.21 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006084/0.1472, allocations: 4.053 MB / 0.6441 GB, free: 2.676 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.1475, allocations: 159.5 kB / 0.6443 GB, free: 2.52 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.1475, allocations: 0 / 0.6443 GB, free: 2.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1477, allocations: 4 kB / 0.6443 GB, free: 2.516 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1478, allocations: 15.91 kB / 0.6443 GB, free: 2.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1482, allocations: 75.77 kB / 0.6444 GB, free: 2.426 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1484, allocations: 59.83 kB / 0.6444 GB, free: 2.367 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.1484, allocations: 3.984 kB / 0.6444 GB, free: 2.363 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.1485, allocations: 15.92 kB / 0.6444 GB, free: 2.348 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.1485, allocations: 11.98 kB / 0.6444 GB, free: 2.336 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1486, allocations: 0 / 0.6444 GB, free: 2.336 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1488, allocations: 75.78 kB / 0.6445 GB, free: 2.262 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.1489, allocations: 11.98 kB / 0.6445 GB, free: 2.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.1489, allocations: 11.94 kB / 0.6445 GB, free: 2.238 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1491, allocations: 43.95 kB / 0.6446 GB, free: 2.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1491, allocations: 3.938 kB / 0.6446 GB, free: 2.191 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1491, allocations: 0 / 0.6446 GB, free: 2.191 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1491, allocations: 0 / 0.6446 GB, free: 2.191 MB / 442.7 MB 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.0004445/0.1495, allocations: 335.8 kB / 0.6449 GB, free: 1.816 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1496, allocations: 12.03 kB / 0.6449 GB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1496, allocations: 4.938 kB / 0.6449 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1498, allocations: 164.3 kB / 0.6451 GB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.1499, allocations: 38.25 kB / 0.6451 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1499, allocations: 384 / 0.6451 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.15, allocations: 53.61 kB / 0.6452 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1501, allocations: 0 / 0.6452 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1501, allocations: 0 / 0.6452 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.1501, allocations: 0 / 0.6452 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/0.1502, allocations: 15.92 kB / 0.6452 GB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.1506, allocations: 345.9 kB / 0.6455 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.101e-05/0.1507, allocations: 22.58 kB / 0.6455 GB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.1507, allocations: 4.859 kB / 0.6455 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.1508, allocations: 85.16 kB / 0.6456 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1508, allocations: 34.56 kB / 0.6457 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.1508, allocations: 3.938 kB / 0.6457 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.151, allocations: 33.73 kB / 0.6457 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.151, allocations: 55.44 kB / 0.6457 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.1511, allocations: 105.8 kB / 0.6458 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1511, allocations: 25.7 kB / 0.6459 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.1512, allocations: 87.98 kB / 0.646 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.1512, allocations: 4 kB / 0.646 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1513, allocations: 13.72 kB / 0.646 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.1514, allocations: 322.8 kB / 0.6463 GB, free: 208 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.1514, allocations: 8 kB / 0.6463 GB, free: 200 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.1514, allocations: 13.72 kB / 0.6463 GB, free: 180 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.1514, allocations: 29.64 kB / 0.6463 GB, free: 144 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1515, allocations: 0 / 0.6463 GB, free: 144 kB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.266e-05/0.1515, allocations: 41.61 kB / 0.6464 GB, free: 96 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1516, allocations: 9.234 kB / 0.6464 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1516, allocations: 8.062 kB / 0.6464 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1516, allocations: 3.938 kB / 0.6464 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.1516, allocations: 8 kB / 0.6464 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1517, allocations: 0 / 0.6464 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.1517, allocations: 4 kB / 0.6464 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1517, allocations: 0 / 0.6464 GB, free: 64 kB / 442.7 MB 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.751e-05/0.1518, allocations: 111.1 kB / 0.6465 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.1518, allocations: 4 kB / 0.6465 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1519, allocations: 128.9 kB / 0.6466 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/0.152, allocations: 180.2 kB / 0.6468 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.578e-05/0.1521, allocations: 176.3 kB / 0.647 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.348e-05/0.1521, allocations: 180.2 kB / 0.6471 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1523, allocations: 409.2 kB / 0.6475 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/0.1524, allocations: 109 kB / 0.6476 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1524, allocations: 108.9 kB / 0.6477 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.292e-05/0.1525, allocations: 176.3 kB / 0.6479 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.1525, allocations: 180.2 kB / 0.6481 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.539e-05/0.1526, allocations: 176.3 kB / 0.6482 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.648e-05/0.1527, allocations: 196.2 kB / 0.6484 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.153, allocations: 0.8454 MB / 0.6493 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.1531, allocations: 182 kB / 0.6494 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.1532, allocations: 184.2 kB / 0.6496 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1533, allocations: 116.8 kB / 0.6497 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.1534, allocations: 188.2 kB / 0.6499 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.1535, allocations: 101.3 kB / 0.65 GB, free: 12.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1535, allocations: 83.27 kB / 0.6501 GB, free: 12.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1535, allocations: 0 / 0.6501 GB, free: 12.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.1539, allocations: 12 kB / 0.6501 GB, free: 12.02 MB / 458.7 MB 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.0003121/0.1542, allocations: 206.4 kB / 0.6503 GB, free: 11.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.1543, allocations: 11.94 kB / 0.6503 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1543, allocations: 0 / 0.6503 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1543, allocations: 0 / 0.6503 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1548, allocations: 0.5237 MB / 0.6508 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1551, allocations: 180 kB / 0.651 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1553, allocations: 0.677 MB / 0.6516 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.625e-05/0.1554, allocations: 11.92 kB / 0.6517 GB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.1554, allocations: 11.44 kB / 0.6517 GB, free: 10.34 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1554, allocations: 4 kB / 0.6517 GB, free: 10.33 MB / 458.7 MB Notification: Performance of Templates: time 0.00273/0.1582, allocations: 0.6134 MB / 0.6523 GB, free: 9.723 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)