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.001003/0.001003, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4695/0.4695, allocations: 55 MB / 325.4 MB, free: 0.707 MB / 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.000578/0.0005781, allocations: 12 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3706, allocations: 60.73 MB / 457.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1825/0.5531, allocations: 134.4 MB / 0.5779 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.5533, allocations: 56.45 kB / 0.578 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.5534, allocations: 0 / 0.578 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.5535, allocations: 0 / 0.578 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.5536, allocations: 15.91 kB / 0.578 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.5543, allocations: 133.1 kB / 0.5781 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.5544, allocations: 43.84 kB / 0.5782 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.5544, allocations: 7.984 kB / 0.5782 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.5545, allocations: 11.98 kB / 0.5782 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.5546, allocations: 11.98 kB / 0.5782 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.5546, allocations: 0 / 0.5782 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.5549, allocations: 105.6 kB / 0.5783 GB, free: 440 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.555, allocations: 11.97 kB / 0.5783 GB, free: 428 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.555, allocations: 29.7 kB / 0.5783 GB, free: 392 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.5552, allocations: 49.91 kB / 0.5784 GB, free: 344 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5552, allocations: 0 / 0.5784 GB, free: 344 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5552, allocations: 0 / 0.5784 GB, free: 344 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.5552, allocations: 4 kB / 0.5784 GB, free: 340 kB / 446.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.0004308/0.5556, allocations: 335.4 kB / 0.5787 GB, free: 15.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5557, allocations: 8.031 kB / 0.5787 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.556, allocations: 23.97 kB / 0.5787 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.5561, allocations: 165.8 kB / 0.5789 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.5562, allocations: 25.7 kB / 0.5789 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.5562, allocations: 4 kB / 0.5789 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5564, allocations: 57.61 kB / 0.579 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5564, allocations: 0 / 0.579 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5564, allocations: 1.719 kB / 0.579 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5564, allocations: 0 / 0.579 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.5565, allocations: 23.98 kB / 0.579 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.5569, allocations: 255.9 kB / 0.5793 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.018e-05/0.5569, allocations: 34.53 kB / 0.5793 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.557, allocations: 4.859 kB / 0.5793 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.5571, allocations: 94.94 kB / 0.5794 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.5572, allocations: 31.62 kB / 0.5794 GB, free: 15.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5572, allocations: 0 / 0.5794 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.5574, allocations: 62.16 kB / 0.5795 GB, free: 15.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.5575, allocations: 51.41 kB / 0.5795 GB, free: 14.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.5575, allocations: 105.8 kB / 0.5796 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.5576, allocations: 25.7 kB / 0.5796 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.5576, allocations: 88.06 kB / 0.5797 GB, free: 14.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.5576, allocations: 11.91 kB / 0.5797 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.5576, allocations: 0 / 0.5797 GB, free: 14.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5578, allocations: 311 kB / 0.58 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.5578, allocations: 11.98 kB / 0.5801 GB, free: 14.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.5578, allocations: 22.58 kB / 0.5801 GB, free: 14.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/0.5578, allocations: 4 kB / 0.5801 GB, free: 14.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5579, allocations: 0 / 0.5801 GB, free: 14.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.384e-05/0.5579, allocations: 61.48 kB / 0.5801 GB, free: 14.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.558, allocations: 12.09 kB / 0.5801 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.558, allocations: 1.25 kB / 0.5801 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.558, allocations: 0 / 0.5801 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.5581, allocations: 12.88 kB / 0.5802 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5581, allocations: 3.984 kB / 0.5802 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.5581, allocations: 4 kB / 0.5802 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.5581, allocations: 4 kB / 0.5802 GB, free: 14.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.5582, allocations: 105.8 kB / 0.5803 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.5582, allocations: 7.953 kB / 0.5803 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.5583, allocations: 11.12 kB / 0.5803 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5583, allocations: 0.9375 kB / 0.5803 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5583, allocations: 3.938 kB / 0.5803 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5583, allocations: 0 / 0.5803 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5586, allocations: 360.4 kB / 0.5806 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5586, allocations: 4 kB / 0.5806 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.5587, allocations: 0 / 0.5806 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5587, allocations: 4.062 kB / 0.5806 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5587, allocations: 5.062 kB / 0.5807 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5587, allocations: 0 / 0.5807 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5587, allocations: 0 / 0.5807 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.44e-05/0.5588, allocations: 85.78 kB / 0.5807 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.5588, allocations: 77.11 kB / 0.5808 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.5588, allocations: 0.75 kB / 0.5808 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.5589, allocations: 8.031 kB / 0.5808 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.5589, allocations: 4.922 kB / 0.5808 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.559, allocations: 0 / 0.5808 GB, free: 13.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.559, allocations: 79.28 kB / 0.5809 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.559, allocations: 0 / 0.5809 GB, free: 13.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001977/0.5592, allocations: 12 kB / 0.5809 GB, free: 13.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.5593, allocations: 99.25 kB / 0.581 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.644e-05/0.5594, allocations: 17.89 kB / 0.581 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5594, allocations: 0 / 0.581 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.5594, allocations: 4 kB / 0.581 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.5597, allocations: 11.95 kB / 0.581 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.5599, allocations: 132.9 kB / 0.5812 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.5602, allocations: 0.677 MB / 0.5818 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.5603, allocations: 12.39 kB / 0.5818 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.5603, allocations: 15.38 kB / 0.5818 GB, free: 12.4 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5603, allocations: 0 / 0.5818 GB, free: 12.4 MB / 462.1 MB Notification: Performance of Templates: time 0.002755/0.5631, allocations: 0.4893 MB / 0.5823 GB, free: 11.93 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: