Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirProperties.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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") translateModel(Annex60.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 193.7 kB / 16.53 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4044/0.4044, allocations: 54.94 MB / 324.7 MB, free: 15.89 MB / 270.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.0019/0.0019, allocations: 67.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.146, allocations: 59.59 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.4095/0.5556, allocations: 149.1 MB / 0.5899 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.5665, allocations: 7.062 MB / 0.5968 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.567, allocations: 0 / 0.5968 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.5677, allocations: 83.56 kB / 0.5968 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.5684, allocations: 163 kB / 0.597 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.5716, allocations: 0.986 MB / 0.598 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.5721, allocations: 372.5 kB / 0.5983 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.5722, allocations: 13.69 kB / 0.5983 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.5727, allocations: 215.1 kB / 0.5985 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.5729, allocations: 135.5 kB / 0.5987 GB, free: 9.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.5729, allocations: 12 kB / 0.5987 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.575, allocations: 1.204 MB / 0.5998 GB, free: 8.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.5751, allocations: 71.78 kB / 0.5999 GB, free: 8.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.5752, allocations: 115.5 kB / 0.6 GB, free: 7.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.5763, allocations: 0.6487 MB / 0.6007 GB, free: 7.262 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5764, allocations: 4.75 kB / 0.6007 GB, free: 7.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5764, allocations: 0 / 0.6007 GB, free: 7.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.5764, allocations: 3.984 kB / 0.6007 GB, free: 7.254 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00124/0.5776, allocations: 0.5861 MB / 0.6012 GB, free: 6.625 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5777, allocations: 8.031 kB / 0.6012 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.5789, allocations: 137.5 kB / 0.6014 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.5792, allocations: 221.2 kB / 0.6016 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5792, allocations: 20.38 kB / 0.6016 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.5793, allocations: 19.98 kB / 0.6016 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.5799, allocations: 347.4 kB / 0.602 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5799, allocations: 0 / 0.602 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.5799, allocations: 12 kB / 0.602 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.58, allocations: 12.38 kB / 0.602 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.5806, allocations: 324.8 kB / 0.6023 GB, free: 5.492 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.5822, allocations: 1.19 MB / 0.6034 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.5827, allocations: 191.6 kB / 0.6036 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.5829, allocations: 88.73 kB / 0.6037 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005608/0.5834, allocations: 457.5 kB / 0.6042 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.5835, allocations: 34.56 kB / 0.6042 GB, free: 3.328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/0.5835, allocations: 4 kB / 0.6042 GB, free: 3.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006824/0.5842, allocations: 252.7 kB / 0.6044 GB, free: 3.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.5842, allocations: 55.41 kB / 0.6045 GB, free: 3.008 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.5844, allocations: 213 kB / 0.6047 GB, free: 2.793 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.5845, allocations: 33.7 kB / 0.6047 GB, free: 2.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.5846, allocations: 143.9 kB / 0.6049 GB, free: 2.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.5846, allocations: 70.94 kB / 0.6049 GB, free: 2.539 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.5847, allocations: 57.61 kB / 0.605 GB, free: 2.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5848, allocations: 330.8 kB / 0.6053 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.585, allocations: 72.25 kB / 0.6054 GB, free: 2.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.5852, allocations: 160.5 kB / 0.6055 GB, free: 1.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.5855, allocations: 259.1 kB / 0.6058 GB, free: 1.586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5855, allocations: 0 / 0.6058 GB, free: 1.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000502/0.586, allocations: 293 kB / 0.606 GB, free: 1.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.586, allocations: 7.938 kB / 0.606 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.586, allocations: 4.75 kB / 0.6061 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5861, allocations: 4 kB / 0.6061 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.5863, allocations: 60.41 kB / 0.6061 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5864, allocations: 8.344 kB / 0.6061 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.5866, allocations: 35.59 kB / 0.6062 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.5866, allocations: 16.69 kB / 0.6062 GB, free: 1.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001243/0.5867, allocations: 133.8 kB / 0.6063 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5869, allocations: 31.73 kB / 0.6063 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.5873, allocations: 265.1 kB / 0.6066 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5874, allocations: 4.109 kB / 0.6066 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5874, allocations: 3.938 kB / 0.6066 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5874, allocations: 7.984 kB / 0.6066 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.5882, allocations: 0.5667 MB / 0.6072 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5882, allocations: 2.062 kB / 0.6072 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.5884, allocations: 35.92 kB / 0.6072 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5884, allocations: 0 / 0.6072 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5884, allocations: 7.984 kB / 0.6072 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5884, allocations: 0 / 0.6072 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5884, allocations: 0 / 0.6072 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.5889, allocations: 335.9 kB / 0.6075 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.589, allocations: 116.9 kB / 0.6076 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.5891, allocations: 8 kB / 0.6076 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.5893, allocations: 8 kB / 0.6076 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.5894, allocations: 7.984 kB / 0.6077 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.5894, allocations: 19.98 kB / 0.6077 GB, free: 15.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.5896, allocations: 160.2 kB / 0.6078 GB, free: 15.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5896, allocations: 3.938 kB / 0.6078 GB, free: 15.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.5901, allocations: 119.8 kB / 0.6079 GB, free: 15.25 MB / 494.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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003694/0.5904, allocations: 207 kB / 0.6081 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.5908, allocations: 211.5 kB / 0.6083 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5908, allocations: 0 / 0.6083 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.5911, allocations: 103.9 kB / 0.6084 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.5917, allocations: 95.25 kB / 0.6085 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.5925, allocations: 467.1 kB / 0.609 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.5928, allocations: 0.7448 MB / 0.6097 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.5931, allocations: 54.25 kB / 0.6098 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.5932, allocations: 23.44 kB / 0.6098 GB, free: 13.32 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5932, allocations: 0 / 0.6098 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Templates: time 0.009931/0.6031, allocations: 5.559 MB / 0.6152 GB, free: 7.844 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirProperties.pipe 2>&1)