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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001615/0.001615, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.397/0.397, allocations: 54.92 MB / 324.3 MB, free: 164 kB / 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.001783/0.001783, allocations: 71.89 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 59.59 MB / 454.2 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirProperties): time 0.4877/0.6358, allocations: 146.8 MB / 0.587 GB, free: 5.113 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.6463, allocations: 7.192 MB / 0.594 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.6467, allocations: 0 / 0.594 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.6474, allocations: 63.7 kB / 0.5941 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.6481, allocations: 155.2 kB / 0.5942 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.6516, allocations: 0.9361 MB / 0.5951 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.6527, allocations: 0.5433 MB / 0.5957 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.6528, allocations: 17.61 kB / 0.5957 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007499/0.6536, allocations: 195.2 kB / 0.5959 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.654, allocations: 147.5 kB / 0.596 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.654, allocations: 11.94 kB / 0.596 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.6571, allocations: 1.516 MB / 0.5975 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.6572, allocations: 75.83 kB / 0.5976 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.6574, allocations: 107.5 kB / 0.5977 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.6596, allocations: 0.75 MB / 0.5984 GB, free: 9.422 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6596, allocations: 0 / 0.5984 GB, free: 9.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6596, allocations: 1.5 kB / 0.5984 GB, free: 9.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.6596, allocations: 0 / 0.5984 GB, free: 9.422 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.001636/0.6613, allocations: 0.5979 MB / 0.599 GB, free: 8.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.6613, allocations: 8.031 kB / 0.599 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.6628, allocations: 136.5 kB / 0.5991 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.6631, allocations: 220 kB / 0.5993 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6631, allocations: 20.38 kB / 0.5994 GB, free: 8.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.6632, allocations: 19.94 kB / 0.5994 GB, free: 8.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.6638, allocations: 344.4 kB / 0.5997 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6638, allocations: 4 kB / 0.5997 GB, free: 7.988 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.6639, allocations: 8 kB / 0.5997 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.6639, allocations: 21.61 kB / 0.5997 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.6645, allocations: 320.9 kB / 0.6001 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.6663, allocations: 1.19 MB / 0.6012 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.6669, allocations: 186.5 kB / 0.6014 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.667, allocations: 84.73 kB / 0.6015 GB, free: 6.074 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.6676, allocations: 461.5 kB / 0.6019 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.6677, allocations: 32.5 kB / 0.6019 GB, free: 5.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.6677, allocations: 0 / 0.6019 GB, free: 5.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006884/0.6684, allocations: 254.9 kB / 0.6022 GB, free: 5.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.6684, allocations: 59.41 kB / 0.6022 GB, free: 5.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.6687, allocations: 211.7 kB / 0.6024 GB, free: 4.957 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.6687, allocations: 33.7 kB / 0.6025 GB, free: 4.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.6688, allocations: 143.9 kB / 0.6026 GB, free: 4.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.6689, allocations: 74.94 kB / 0.6027 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.669, allocations: 58.92 kB / 0.6027 GB, free: 4.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6691, allocations: 326.8 kB / 0.6031 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6693, allocations: 70.88 kB / 0.6031 GB, free: 4.242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.6695, allocations: 164.5 kB / 0.6033 GB, free: 4.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.6698, allocations: 261.2 kB / 0.6035 GB, free: 3.746 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6699, allocations: 0 / 0.6035 GB, free: 3.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005328/0.6704, allocations: 285.4 kB / 0.6038 GB, free: 3.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6704, allocations: 11.94 kB / 0.6038 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6704, allocations: 0 / 0.6038 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.6705, allocations: 8 kB / 0.6038 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.6707, allocations: 55.91 kB / 0.6039 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.6708, allocations: 7.938 kB / 0.6039 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.671, allocations: 35.59 kB / 0.6039 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.6711, allocations: 19.98 kB / 0.6039 GB, free: 3.324 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.0001524/0.6713, allocations: 138.9 kB / 0.6041 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.6714, allocations: 31.67 kB / 0.6041 GB, free: 3.148 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.6719, allocations: 258.5 kB / 0.6043 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6719, allocations: 11.98 kB / 0.6044 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6719, allocations: 0 / 0.6044 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6719, allocations: 1.312 kB / 0.6044 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007278/0.6727, allocations: 0.5661 MB / 0.6049 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6727, allocations: 4 kB / 0.6049 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6729, allocations: 31.92 kB / 0.6049 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.6729, allocations: 0 / 0.6049 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.6729, allocations: 8 kB / 0.605 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6729, allocations: 0 / 0.605 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6729, allocations: 0 / 0.605 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.6735, allocations: 340.5 kB / 0.6053 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6736, allocations: 120.8 kB / 0.6054 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.6737, allocations: 1.5 kB / 0.6054 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.6739, allocations: 15.98 kB / 0.6054 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.674, allocations: 11.92 kB / 0.6054 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.674, allocations: 16 kB / 0.6054 GB, free: 1.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.6742, allocations: 162.3 kB / 0.6056 GB, free: 1.535 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.6742, allocations: 4 kB / 0.6056 GB, free: 1.531 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.6747, allocations: 127.8 kB / 0.6057 GB, free: 1.406 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.0004466/0.6752, allocations: 204.3 kB / 0.6059 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.6755, allocations: 203.8 kB / 0.6061 GB, free: 1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6756, allocations: 0 / 0.6061 GB, free: 1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.6757, allocations: 99.88 kB / 0.6062 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.6763, allocations: 86.31 kB / 0.6063 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.6772, allocations: 0.5253 MB / 0.6068 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6775, allocations: 0.745 MB / 0.6075 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000285/0.6778, allocations: 59.42 kB / 0.6076 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.6778, allocations: 19.44 kB / 0.6076 GB, free: 15.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6779, allocations: 4 kB / 0.6076 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Templates: time 0.009813/0.6877, allocations: 5.381 MB / 0.6129 GB, free: 10.12 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)