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.0013/0.001301, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01237/0.01237, allocations: 171 kB / 16.27 MB, free: 6.332 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.774/1.774, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.393/0.393, allocations: 55.01 MB / 325.7 MB, free: 0.6406 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.0005509/0.0005509, allocations: 16 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3765, allocations: 60.72 MB / 458 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.1724/0.5489, allocations: 145 MB / 0.5888 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008845/0.5578, allocations: 7.089 MB / 0.5957 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.5581, allocations: 0 / 0.5957 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.5585, allocations: 67.69 kB / 0.5958 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.559, allocations: 151.2 kB / 0.5959 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.5619, allocations: 0.9258 MB / 0.5968 GB, free: 13.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.5624, allocations: 0.5469 MB / 0.5974 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.5625, allocations: 17.67 kB / 0.5974 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.5629, allocations: 187.2 kB / 0.5976 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.5631, allocations: 151.5 kB / 0.5977 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.5632, allocations: 8 kB / 0.5977 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.5655, allocations: 1.516 MB / 0.5992 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.5656, allocations: 75.77 kB / 0.5993 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.5658, allocations: 137.2 kB / 0.5994 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.5671, allocations: 0.7428 MB / 0.6001 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5671, allocations: 0 / 0.6001 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.789e-06/0.5671, allocations: 0 / 0.6001 GB, free: 10.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.5671, allocations: 7.938 kB / 0.6001 GB, free: 10.33 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.001322/0.5684, allocations: 0.5518 MB / 0.6007 GB, free: 9.734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.5685, allocations: 8.031 kB / 0.6007 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.5697, allocations: 132.6 kB / 0.6008 GB, free: 9.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.5701, allocations: 225.4 kB / 0.601 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.5701, allocations: 20.38 kB / 0.601 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.5702, allocations: 17.19 kB / 0.6011 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.5709, allocations: 343.4 kB / 0.6014 GB, free: 8.949 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5709, allocations: 4 kB / 0.6014 GB, free: 8.945 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.5709, allocations: 12 kB / 0.6014 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.571, allocations: 12.38 kB / 0.6014 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.5715, allocations: 320.9 kB / 0.6017 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.5733, allocations: 1.197 MB / 0.6029 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.5738, allocations: 183 kB / 0.6031 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5739, allocations: 84.86 kB / 0.6031 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.5745, allocations: 465.4 kB / 0.6036 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5745, allocations: 35.69 kB / 0.6036 GB, free: 6.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.5745, allocations: 0 / 0.6036 GB, free: 6.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006952/0.5752, allocations: 247 kB / 0.6039 GB, free: 6.199 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.5753, allocations: 55.41 kB / 0.6039 GB, free: 6.133 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.5756, allocations: 217.8 kB / 0.6041 GB, free: 5.914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.5756, allocations: 33.7 kB / 0.6041 GB, free: 5.875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.5758, allocations: 147.9 kB / 0.6043 GB, free: 5.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.5759, allocations: 74.88 kB / 0.6044 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.5759, allocations: 29.7 kB / 0.6044 GB, free: 5.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5761, allocations: 326.8 kB / 0.6047 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.5763, allocations: 72.22 kB / 0.6048 GB, free: 5.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.5765, allocations: 175.1 kB / 0.6049 GB, free: 5.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.5769, allocations: 259 kB / 0.6052 GB, free: 4.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5769, allocations: 0 / 0.6052 GB, free: 4.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006954/0.5776, allocations: 277.1 kB / 0.6054 GB, free: 4.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.5776, allocations: 11.94 kB / 0.6055 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5776, allocations: 5.062 kB / 0.6055 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.5777, allocations: 4.406 kB / 0.6055 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.5779, allocations: 59.92 kB / 0.6055 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.578, allocations: 8.922 kB / 0.6055 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5782, allocations: 35.59 kB / 0.6056 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.5783, allocations: 12 kB / 0.6056 GB, free: 4.305 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.0001725/0.5784, allocations: 137.8 kB / 0.6057 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5786, allocations: 23.75 kB / 0.6057 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.5791, allocations: 281.5 kB / 0.606 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.5791, allocations: 4 kB / 0.606 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5792, allocations: 0.5 kB / 0.606 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5792, allocations: 0 / 0.606 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.5799, allocations: 0.5667 MB / 0.6066 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5799, allocations: 0 / 0.6066 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.5801, allocations: 33.11 kB / 0.6066 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5801, allocations: 8.031 kB / 0.6066 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5801, allocations: 0 / 0.6066 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5801, allocations: 0 / 0.6066 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5801, allocations: 4 kB / 0.6066 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.5806, allocations: 335.8 kB / 0.6069 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5808, allocations: 112.9 kB / 0.607 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.5808, allocations: 15.98 kB / 0.607 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.5811, allocations: 9.062 kB / 0.607 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.5811, allocations: 11.98 kB / 0.6071 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.5811, allocations: 11.98 kB / 0.6071 GB, free: 2.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.5813, allocations: 159.3 kB / 0.6072 GB, free: 2.516 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5813, allocations: 0 / 0.6072 GB, free: 2.516 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.5818, allocations: 119.8 kB / 0.6073 GB, free: 2.398 MB / 478.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.0004687/0.5823, allocations: 218.9 kB / 0.6075 GB, free: 2.176 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.5827, allocations: 199.2 kB / 0.6077 GB, free: 1.984 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.5827, allocations: 4.125 kB / 0.6077 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5829, allocations: 103.8 kB / 0.6078 GB, free: 1.879 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.5836, allocations: 97.78 kB / 0.6079 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.5846, allocations: 0.5639 MB / 0.6085 GB, free: 1.191 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.585, allocations: 0.7372 MB / 0.6092 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.5853, allocations: 59.89 kB / 0.6093 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.5854, allocations: 23.44 kB / 0.6093 GB, free: 360 kB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5854, allocations: 4 kB / 0.6093 GB, free: 356 kB / 478.1 MB Notification: Performance of Templates: time 0.01089/0.5963, allocations: 5.353 MB / 0.6145 GB, free: 11.07 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: