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.00115/0.00115, allocations: 112.8 kB / 16.42 MB, free: 6.016 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.001165/0.001165, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.192/1.192, allocations: 222.9 MB / 241.1 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.7199/0.7199, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 61.91 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1163, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004459/0.1208, allocations: 4.011 MB / 0.6692 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.1209, allocations: 163.5 kB / 0.6694 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.121, allocations: 0 / 0.6694 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.632e-05/0.1211, allocations: 7.984 kB / 0.6694 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.1211, allocations: 7.938 kB / 0.6694 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1214, allocations: 85.44 kB / 0.6695 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.1215, allocations: 35.84 kB / 0.6695 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.1215, allocations: 7.984 kB / 0.6695 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.1216, allocations: 8 kB / 0.6695 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.1216, allocations: 23.91 kB / 0.6695 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1216, allocations: 0 / 0.6695 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1218, allocations: 55.75 kB / 0.6696 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1219, allocations: 15.92 kB / 0.6696 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1219, allocations: 11.98 kB / 0.6696 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.122, allocations: 47.84 kB / 0.6697 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.122, allocations: 0 / 0.6697 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.122, allocations: 0 / 0.6697 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.122, allocations: 0 / 0.6697 GB, free: 1.297 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.000324/0.1224, allocations: 331.6 kB / 0.67 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1224, allocations: 13.11 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1224, allocations: 0.9375 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1225, allocations: 164.3 kB / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.1226, allocations: 34.27 kB / 0.6702 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.1226, allocations: 384 / 0.6702 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1227, allocations: 53.55 kB / 0.6702 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1228, allocations: 0 / 0.6702 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1228, allocations: 4 kB / 0.6702 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1228, allocations: 0 / 0.6702 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.1228, allocations: 11.98 kB / 0.6702 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1232, allocations: 338 kB / 0.6706 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.612e-05/0.1232, allocations: 18.58 kB / 0.6706 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.1233, allocations: 12.86 kB / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.518e-05/0.1233, allocations: 81.11 kB / 0.6707 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1234, allocations: 34.55 kB / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1234, allocations: 0 / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.1235, allocations: 33.8 kB / 0.6707 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.1235, allocations: 55.44 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.1236, allocations: 113.8 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1236, allocations: 25.7 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.1237, allocations: 88.05 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.1237, allocations: 0 / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1237, allocations: 13.72 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.1238, allocations: 318.8 kB / 0.6713 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.1238, allocations: 15.94 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.1238, allocations: 13.72 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.1239, allocations: 29.64 kB / 0.6714 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1239, allocations: 0 / 0.6714 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.643e-05/0.124, allocations: 49.55 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.124, allocations: 5.875 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.124, allocations: 4.062 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.124, allocations: 4 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.124, allocations: 7.984 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1241, allocations: 3.984 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.1241, allocations: 3.938 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1241, allocations: 4 kB / 0.6715 GB, free: 15.18 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 5.894e-05/0.1242, allocations: 109.8 kB / 0.6716 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1242, allocations: 4 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.271e-05/0.1243, allocations: 124.9 kB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/0.1243, allocations: 180.3 kB / 0.6719 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/0.1244, allocations: 104.9 kB / 0.672 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.1244, allocations: 178.1 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.1245, allocations: 192.2 kB / 0.6723 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1247, allocations: 108.9 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1247, allocations: 188.3 kB / 0.6726 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.058e-05/0.1248, allocations: 259.5 kB / 0.6728 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001308/0.1249, allocations: 383 kB / 0.6732 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.725e-05/0.125, allocations: 101 kB / 0.6733 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.125, allocations: 91.27 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of Backend: time 2.2e-07/0.125, allocations: 0 / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.1254, allocations: 106.3 kB / 0.6735 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004179/0.1258, allocations: 0.8641 MB / 0.6743 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.002198/0.128, allocations: 0.5357 MB / 0.6749 GB, free: 11.52 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)