Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001806/0.001806, allocations: 193.7 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.399/0.399, allocations: 54.93 MB / 324.3 MB, free: 0 / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 394.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.192, allocations: 59.59 MB / 454.2 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4729/0.6651, allocations: 146 MB / 0.5862 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001294/0.6652, allocations: 54.97 kB / 0.5862 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.6653, allocations: 0 / 0.5862 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.6654, allocations: 3.938 kB / 0.5862 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.6655, allocations: 7.984 kB / 0.5862 GB, free: 6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.6662, allocations: 195.1 kB / 0.5864 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.6663, allocations: 55.88 kB / 0.5865 GB, free: 5.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.6664, allocations: 8 kB / 0.5865 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.6664, allocations: 7.938 kB / 0.5865 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.6665, allocations: 15.92 kB / 0.5865 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.6665, allocations: 0 / 0.5865 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.667, allocations: 231.3 kB / 0.5867 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.667, allocations: 11.98 kB / 0.5867 GB, free: 5.488 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.6671, allocations: 15.92 kB / 0.5867 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.6674, allocations: 117.9 kB / 0.5868 GB, free: 5.359 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6674, allocations: 0 / 0.5868 GB, free: 5.359 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6674, allocations: 0 / 0.5868 GB, free: 5.359 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.6674, allocations: 0.5625 kB / 0.5868 GB, free: 5.359 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006137/0.6681, allocations: 351.5 kB / 0.5872 GB, free: 4.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6681, allocations: 8.031 kB / 0.5872 GB, free: 4.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.6685, allocations: 28.91 kB / 0.5872 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.6687, allocations: 160.4 kB / 0.5874 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.6688, allocations: 29.64 kB / 0.5874 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.6688, allocations: 5.312 kB / 0.5874 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.669, allocations: 54.11 kB / 0.5875 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.669, allocations: 0 / 0.5875 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.669, allocations: 0 / 0.5875 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.6691, allocations: 0 / 0.5875 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.6691, allocations: 27.98 kB / 0.5875 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.6696, allocations: 252 kB / 0.5877 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.6696, allocations: 30.61 kB / 0.5878 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.6697, allocations: 5.672 kB / 0.5878 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.6698, allocations: 97.16 kB / 0.5878 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6699, allocations: 38.5 kB / 0.5879 GB, free: 4.113 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.6699, allocations: 0 / 0.5879 GB, free: 4.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002813/0.6702, allocations: 45.69 kB / 0.5879 GB, free: 4.062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6702, allocations: 55.41 kB / 0.588 GB, free: 3.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.6703, allocations: 104.2 kB / 0.5881 GB, free: 3.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.6704, allocations: 25.7 kB / 0.5881 GB, free: 3.855 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.6704, allocations: 106 kB / 0.5882 GB, free: 3.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.6705, allocations: 0 / 0.5882 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.6705, allocations: 17.62 kB / 0.5882 GB, free: 3.727 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6706, allocations: 314.8 kB / 0.5885 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.6706, allocations: 7.984 kB / 0.5885 GB, free: 3.402 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.6707, allocations: 22.52 kB / 0.5886 GB, free: 3.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.6707, allocations: 30.58 kB / 0.5886 GB, free: 3.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6707, allocations: 0 / 0.5886 GB, free: 3.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.58e-05/0.6708, allocations: 54.62 kB / 0.5886 GB, free: 3.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6709, allocations: 8 kB / 0.5886 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6709, allocations: 0 / 0.5886 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6709, allocations: 0 / 0.5886 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.671, allocations: 16.02 kB / 0.5887 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.671, allocations: 15.88 kB / 0.5887 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.671, allocations: 0 / 0.5887 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.671, allocations: 4 kB / 0.5887 GB, free: 3.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.516e-05/0.6711, allocations: 105.8 kB / 0.5888 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.6712, allocations: 4 kB / 0.5888 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.6712, allocations: 7.125 kB / 0.5888 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6712, allocations: 288 / 0.5888 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6712, allocations: 4.938 kB / 0.5888 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6712, allocations: 0 / 0.5888 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.6715, allocations: 363.6 kB / 0.5891 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6715, allocations: 0 / 0.5891 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.6716, allocations: 4.656 kB / 0.5891 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6716, allocations: 3.938 kB / 0.5891 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6716, allocations: 8.75 kB / 0.5892 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6716, allocations: 0 / 0.5892 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6716, allocations: 3.984 kB / 0.5892 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.6717, allocations: 77.91 kB / 0.5892 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.6717, allocations: 81.05 kB / 0.5893 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.6717, allocations: 0.9375 kB / 0.5893 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.6718, allocations: 8.797 kB / 0.5893 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.6718, allocations: 0 / 0.5893 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.6718, allocations: 0 / 0.5893 GB, free: 2.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.6719, allocations: 83.31 kB / 0.5894 GB, free: 2.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6719, allocations: 0 / 0.5894 GB, free: 2.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.6721, allocations: 12 kB / 0.5894 GB, free: 2.367 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001406/0.6722, allocations: 99.23 kB / 0.5895 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.298e-05/0.6723, allocations: 11.94 kB / 0.5895 GB, free: 2.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6723, allocations: 192 / 0.5895 GB, free: 2.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.6724, allocations: 12.66 kB / 0.5895 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.6726, allocations: 8.484 kB / 0.5895 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.6729, allocations: 130.8 kB / 0.5897 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.6731, allocations: 0.677 MB / 0.5903 GB, free: 1.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.6732, allocations: 12.11 kB / 0.5903 GB, free: 1.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.6732, allocations: 9.312 kB / 0.5903 GB, free: 1.367 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6732, allocations: 0 / 0.5903 GB, free: 1.367 MB / 462.1 MB Notification: Performance of Templates: time 0.002472/0.6757, allocations: 0.515 MB / 0.5908 GB, free: 0.8828 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)