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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.9 kB / 16.42 MB, free: 6.516 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.001081/0.001081, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.275/1.275, 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/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.17 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004895/0.132, allocations: 4.019 MB / 0.6642 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.1323, allocations: 163.5 kB / 0.6644 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1323, allocations: 4 kB / 0.6644 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.917e-05/0.1324, allocations: 0 / 0.6644 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.1325, allocations: 15.91 kB / 0.6644 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1328, allocations: 81.55 kB / 0.6645 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.832e-05/0.1329, allocations: 31.86 kB / 0.6645 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.1329, allocations: 4 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.133, allocations: 19.91 kB / 0.6646 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.133, allocations: 12 kB / 0.6646 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.133, allocations: 0 / 0.6646 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.1332, allocations: 63.8 kB / 0.6646 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1333, allocations: 7.922 kB / 0.6646 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1333, allocations: 11.94 kB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1334, allocations: 47.83 kB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1334, allocations: 0 / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1335, allocations: 0 / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1335, allocations: 0 / 0.6647 GB, free: 5.766 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.0003581/0.1338, allocations: 335.6 kB / 0.665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1339, allocations: 8.031 kB / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1339, allocations: 4.844 kB / 0.665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.134, allocations: 168.4 kB / 0.6652 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.1341, allocations: 30.27 kB / 0.6652 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1341, allocations: 384 / 0.6652 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1342, allocations: 49.56 kB / 0.6653 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.1342, allocations: 0 / 0.6653 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1343, allocations: 4 kB / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1343, allocations: 0 / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.1343, allocations: 19.98 kB / 0.6653 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1347, allocations: 330 kB / 0.6656 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.699e-05/0.1347, allocations: 22.52 kB / 0.6656 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.1348, allocations: 4.859 kB / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.1349, allocations: 97.12 kB / 0.6657 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.1349, allocations: 34.56 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1349, allocations: 0 / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.135, allocations: 33.7 kB / 0.6658 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1351, allocations: 51.41 kB / 0.6658 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.1351, allocations: 109.8 kB / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1351, allocations: 25.7 kB / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.1352, allocations: 87.98 kB / 0.666 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.1352, allocations: 16.02 kB / 0.6661 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.1353, allocations: 13.72 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1354, allocations: 318.8 kB / 0.6664 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.1354, allocations: 3.938 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.1354, allocations: 17.7 kB / 0.6664 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.1354, allocations: 25.72 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1354, allocations: 0 / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.951e-05/0.1355, allocations: 49.62 kB / 0.6665 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1356, allocations: 8 kB / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1356, allocations: 0 / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1356, allocations: 0 / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.1356, allocations: 4 kB / 0.6665 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1356, allocations: 0 / 0.6665 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.1357, allocations: 4 kB / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1357, allocations: 0 / 0.6665 GB, free: 3.652 MB / 0.4981 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 6.987e-05/0.1357, allocations: 130.6 kB / 0.6666 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1358, allocations: 0 / 0.6666 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1359, allocations: 116.9 kB / 0.6667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.085e-05/0.1359, allocations: 176.3 kB / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.136, allocations: 108.9 kB / 0.667 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.1361, allocations: 190 kB / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.1362, allocations: 188.2 kB / 0.6674 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1363, allocations: 116.9 kB / 0.6675 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.1364, allocations: 176.3 kB / 0.6676 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.453e-05/0.1365, allocations: 255.5 kB / 0.6679 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001678/0.1367, allocations: 387 kB / 0.6682 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.097e-05/0.1367, allocations: 105 kB / 0.6683 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.1367, allocations: 83.28 kB / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of Backend: time 2.2e-07/0.1368, allocations: 0 / 0.6684 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.1372, allocations: 110.2 kB / 0.6685 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004773/0.1377, allocations: 0.8523 MB / 0.6694 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of Templates: time 0.002365/0.14, allocations: 0.5376 MB / 0.6699 GB, free: 0 / 0.4981 GB 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)