Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001331/0.001331, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.441/1.441, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.421/0.421, allocations: 54.93 MB / 324.4 MB, free: 80 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.00158/0.00158, allocations: 71.91 kB / 394.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1628, allocations: 59.59 MB / 454.5 MB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.4744/0.6372, allocations: 159 MB / 0.5991 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003977/0.6413, allocations: 2.363 MB / 0.6014 GB, free: 6.371 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.6419, allocations: 4 kB / 0.6014 GB, free: 6.367 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009642/0.6429, allocations: 226.9 kB / 0.6016 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.6442, allocations: 422.1 kB / 0.602 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000908/0.6451, allocations: 308.9 kB / 0.6023 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.6467, allocations: 1.056 MB / 0.6034 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.647, allocations: 145.1 kB / 0.6035 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.6485, allocations: 0.5662 MB / 0.604 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.6492, allocations: 403.4 kB / 0.6044 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.6494, allocations: 48 kB / 0.6045 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.6497, allocations: 59.98 kB / 0.6045 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.65, allocations: 219.4 kB / 0.6047 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.6504, allocations: 263 kB / 0.605 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.6512, allocations: 0.7088 MB / 0.6057 GB, free: 1.988 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6512, allocations: 0 / 0.6057 GB, free: 1.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6512, allocations: 0 / 0.6057 GB, free: 1.988 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.6513, allocations: 0 / 0.6057 GB, free: 1.988 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001633/0.6529, allocations: 0.7185 MB / 0.6064 GB, free: 1.227 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.653, allocations: 8.031 kB / 0.6064 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.6533, allocations: 59.52 kB / 0.6065 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.6538, allocations: 333.9 kB / 0.6068 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.6539, allocations: 25 kB / 0.6068 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.6539, allocations: 38.69 kB / 0.6068 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.6546, allocations: 418.3 kB / 0.6072 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6547, allocations: 0 / 0.6072 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.6547, allocations: 16 kB / 0.6072 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.6547, allocations: 8 kB / 0.6073 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.6554, allocations: 383.8 kB / 0.6076 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.6579, allocations: 1.572 MB / 0.6092 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.6584, allocations: 286.9 kB / 0.6094 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.6586, allocations: 152.8 kB / 0.6096 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.6587, allocations: 7.984 kB / 0.6096 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.6587, allocations: 42.5 kB / 0.6096 GB, free: 13.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.814e-06/0.6587, allocations: 0.75 kB / 0.6096 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.004408/0.6631, allocations: 1.837 MB / 0.6114 GB, free: 11.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6632, allocations: 63.34 kB / 0.6115 GB, free: 11.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.6636, allocations: 323 kB / 0.6118 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.6636, allocations: 37.64 kB / 0.6118 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.6638, allocations: 196.5 kB / 0.612 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6639, allocations: 138.5 kB / 0.6121 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.6641, allocations: 86.03 kB / 0.6122 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.6642, allocations: 342.8 kB / 0.6125 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.6645, allocations: 168.8 kB / 0.6127 GB, free: 10.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.6648, allocations: 212.1 kB / 0.6129 GB, free: 10.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.6654, allocations: 406 kB / 0.6133 GB, free: 9.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6654, allocations: 1.406 kB / 0.6133 GB, free: 9.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009672/0.6664, allocations: 0.5488 MB / 0.6138 GB, free: 9.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6664, allocations: 4 kB / 0.6138 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6665, allocations: 0 / 0.6138 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.6667, allocations: 90.62 kB / 0.6139 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.6674, allocations: 119.9 kB / 0.614 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.6714, allocations: 4.551 MB / 0.6185 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.6718, allocations: 40.02 kB / 0.6185 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.6718, allocations: 12 kB / 0.6185 GB, free: 3.949 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.6722, allocations: 185.7 kB / 0.6187 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.6723, allocations: 39.56 kB / 0.6188 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.6724, allocations: 55.42 kB / 0.6188 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6725, allocations: 4 kB / 0.6188 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.6725, allocations: 0 / 0.6188 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009673/0.6735, allocations: 0.6476 MB / 0.6194 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.6754, allocations: 1.145 MB / 0.6206 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6754, allocations: 0.8125 kB / 0.6206 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/0.6761, allocations: 120 kB / 0.6207 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.6763, allocations: 52.81 kB / 0.6207 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.6764, allocations: 15.98 kB / 0.6207 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.678, allocations: 1.741 MB / 0.6224 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.678, allocations: 4.031 kB / 0.6224 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.6791, allocations: 0.7703 MB / 0.6232 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.6794, allocations: 164.6 kB / 0.6234 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.6795, allocations: 17.12 kB / 0.6234 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.68, allocations: 39.97 kB / 0.6234 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.68, allocations: 26.58 kB / 0.6234 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.6801, allocations: 19.98 kB / 0.6234 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002467/0.6803, allocations: 233.9 kB / 0.6237 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6803, allocations: 0 / 0.6237 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006096/0.681, allocations: 139.9 kB / 0.6238 GB, free: 14.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.6812, allocations: 115.2 kB / 0.6239 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.6826, allocations: 0.7915 MB / 0.6247 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6826, allocations: 0 / 0.6247 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.6832, allocations: 330.6 kB / 0.625 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6844, allocations: 246.2 kB / 0.6252 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.687, allocations: 1.279 MB / 0.6265 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.6876, allocations: 0.8316 MB / 0.6273 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004989/0.6882, allocations: 95.33 kB / 0.6274 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.6883, allocations: 35.44 kB / 0.6274 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.6883, allocations: 0 / 0.6274 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.01766/0.706, allocations: 9.755 MB / 0.637 GB, free: 0.8242 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)