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.001459/0.001459, allocations: 105.6 kB / 16.41 MB, free: 6.465 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.001477/0.001477, allocations: 187 kB / 17.34 MB, free: 5.719 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8197/0.8197, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 62.19 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2145, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008198/0.2228, allocations: 4.017 MB / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.2231, allocations: 167.5 kB / 0.6644 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.2231, allocations: 0 / 0.6644 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2232, allocations: 0 / 0.6644 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.2234, allocations: 7.938 kB / 0.6644 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.2238, allocations: 87.69 kB / 0.6645 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.2239, allocations: 35.83 kB / 0.6645 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.2239, allocations: 8 kB / 0.6645 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.224, allocations: 15.92 kB / 0.6645 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.2241, allocations: 11.98 kB / 0.6646 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2241, allocations: 0 / 0.6646 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2243, allocations: 59.75 kB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.2244, allocations: 11.92 kB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.2244, allocations: 11.98 kB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2245, allocations: 43.84 kB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2246, allocations: 7.984 kB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2246, allocations: 0 / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2246, allocations: 0 / 0.6647 GB, free: 5.746 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.0003978/0.225, allocations: 327.6 kB / 0.665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.225, allocations: 12.03 kB / 0.665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.2251, allocations: 4.844 kB / 0.665 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2252, allocations: 160.4 kB / 0.6652 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.2253, allocations: 38.25 kB / 0.6652 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2253, allocations: 4.375 kB / 0.6652 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2254, allocations: 45.56 kB / 0.6652 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2255, allocations: 0 / 0.6652 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2255, allocations: 4 kB / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.2255, allocations: 0 / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.2255, allocations: 15.98 kB / 0.6653 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.226, allocations: 334 kB / 0.6656 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.498e-05/0.2261, allocations: 26.52 kB / 0.6656 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.2261, allocations: 4.859 kB / 0.6656 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.2262, allocations: 85.16 kB / 0.6657 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2262, allocations: 30.56 kB / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2262, allocations: 0 / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.2264, allocations: 37.7 kB / 0.6658 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2264, allocations: 51.53 kB / 0.6658 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.2265, allocations: 113.8 kB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2265, allocations: 25.7 kB / 0.6659 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.2266, allocations: 87.98 kB / 0.666 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2266, allocations: 3.906 kB / 0.666 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.2267, allocations: 21.7 kB / 0.6661 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2268, allocations: 314.8 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.2268, allocations: 4 kB / 0.6664 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.2268, allocations: 17.72 kB / 0.6664 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.2269, allocations: 29.64 kB / 0.6664 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2269, allocations: 0 / 0.6664 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.358e-05/0.227, allocations: 49.62 kB / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.227, allocations: 4 kB / 0.6665 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.227, allocations: 4 kB / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.227, allocations: 288 / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.2271, allocations: 12.06 kB / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2271, allocations: 0 / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.2271, allocations: 3.938 kB / 0.6665 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2271, allocations: 4 kB / 0.6665 GB, free: 3.633 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 7.369e-05/0.2272, allocations: 114.7 kB / 0.6666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.2273, allocations: 7.984 kB / 0.6666 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2274, allocations: 120.9 kB / 0.6667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/0.2274, allocations: 180.3 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-05/0.2275, allocations: 180.2 kB / 0.6671 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/0.2276, allocations: 188.2 kB / 0.6672 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2278, allocations: 409.1 kB / 0.6676 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.2279, allocations: 101 kB / 0.6677 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.2279, allocations: 109 kB / 0.6678 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.484e-05/0.228, allocations: 184.2 kB / 0.668 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.2281, allocations: 176.3 kB / 0.6682 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.308e-05/0.2281, allocations: 180.2 kB / 0.6683 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.574e-05/0.2282, allocations: 184.2 kB / 0.6685 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.2283, allocations: 315.6 kB / 0.6688 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.2284, allocations: 178.1 kB / 0.669 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.2285, allocations: 184.2 kB / 0.6692 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2287, allocations: 105 kB / 0.6693 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.2287, allocations: 176.3 kB / 0.6694 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.2288, allocations: 120.9 kB / 0.6695 GB, free: 276 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.2288, allocations: 79.28 kB / 0.6696 GB, free: 196 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2288, allocations: 0 / 0.6696 GB, free: 196 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002564/0.2291, allocations: 15.94 kB / 0.6696 GB, free: 180 kB / 0.4981 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.0002892/0.2294, allocations: 202.5 kB / 0.6698 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.2295, allocations: 15.88 kB / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2295, allocations: 7.938 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2295, allocations: 0 / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.2299, allocations: 461.1 kB / 0.6703 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.2302, allocations: 191.9 kB / 0.6705 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2305, allocations: 0.6807 MB / 0.6711 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.2305, allocations: 11.44 kB / 0.6711 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2305, allocations: 0 / 0.6711 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.002198/0.2327, allocations: 0.7574 MB / 0.6719 GB, free: 13.8 MB / 0.5137 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)