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.001562/0.001562, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001865/0.001865, allocations: 190.8 kB / 16.13 MB, free: 6.66 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.493/1.493, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4458/0.4458, allocations: 54.94 MB / 324.3 MB, free: 172 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.001318/0.001318, allocations: 67.91 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.149, allocations: 59.58 MB / 454.2 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.4136/0.5627, allocations: 159 MB / 0.5988 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.5657, allocations: 2.383 MB / 0.6012 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.566, allocations: 8 kB / 0.6012 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.5667, allocations: 227 kB / 0.6014 GB, free: 6.398 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.5675, allocations: 418 kB / 0.6018 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.5683, allocations: 310 kB / 0.6021 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.5696, allocations: 1.602 MB / 0.6036 GB, free: 4.082 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.5699, allocations: 118.1 kB / 0.6037 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.571, allocations: 0.5039 MB / 0.6042 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.5715, allocations: 394.6 kB / 0.6046 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.5716, allocations: 24 kB / 0.6046 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.5717, allocations: 32 kB / 0.6047 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.572, allocations: 199.4 kB / 0.6049 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.5723, allocations: 247 kB / 0.6051 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006419/0.5729, allocations: 0.6826 MB / 0.6058 GB, free: 1.906 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5729, allocations: 0 / 0.6058 GB, free: 1.906 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.5729, allocations: 0 / 0.6058 GB, free: 1.906 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.5729, allocations: 0 / 0.6058 GB, free: 1.906 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.001425/0.5744, allocations: 0.7263 MB / 0.6065 GB, free: 1.137 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5744, allocations: 11.97 kB / 0.6065 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.5748, allocations: 55.52 kB / 0.6065 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.5753, allocations: 333.9 kB / 0.6069 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.5754, allocations: 30 kB / 0.6069 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.5755, allocations: 36 kB / 0.6069 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.5761, allocations: 410.3 kB / 0.6073 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5762, allocations: 4 kB / 0.6073 GB, free: 232 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.5762, allocations: 16.66 kB / 0.6073 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5762, allocations: 12 kB / 0.6073 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.5769, allocations: 383.8 kB / 0.6077 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.5791, allocations: 1.576 MB / 0.6092 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.5795, allocations: 275.7 kB / 0.6095 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.5797, allocations: 161.3 kB / 0.6097 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.5798, allocations: 8 kB / 0.6097 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.5798, allocations: 39.5 kB / 0.6097 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.734e-06/0.5798, allocations: 0 / 0.6097 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.004304/0.5841, allocations: 1.841 MB / 0.6115 GB, free: 11.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5842, allocations: 59.34 kB / 0.6116 GB, free: 11.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.5846, allocations: 318.9 kB / 0.6119 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.5847, allocations: 37.7 kB / 0.6119 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5848, allocations: 188.5 kB / 0.6121 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5849, allocations: 149.9 kB / 0.6122 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.5851, allocations: 83.08 kB / 0.6123 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5852, allocations: 346.8 kB / 0.6126 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.5855, allocations: 160.8 kB / 0.6128 GB, free: 10.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.5858, allocations: 212.1 kB / 0.613 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.5864, allocations: 399.1 kB / 0.6134 GB, free: 9.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5864, allocations: 4 kB / 0.6134 GB, free: 9.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008725/0.5873, allocations: 0.5488 MB / 0.6139 GB, free: 9.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5873, allocations: 8 kB / 0.6139 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5873, allocations: 0 / 0.6139 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.5876, allocations: 94.61 kB / 0.614 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5883, allocations: 115.8 kB / 0.6141 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.5915, allocations: 4.179 MB / 0.6182 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.5918, allocations: 36.61 kB / 0.6182 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5919, allocations: 12 kB / 0.6182 GB, free: 4.262 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.0002506/0.5921, allocations: 185.6 kB / 0.6184 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.5922, allocations: 35.62 kB / 0.6185 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.5924, allocations: 55.42 kB / 0.6185 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.5924, allocations: 8 kB / 0.6185 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5924, allocations: 0 / 0.6185 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000818/0.5932, allocations: 0.6516 MB / 0.6192 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.5948, allocations: 1.137 MB / 0.6203 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5948, allocations: 4 kB / 0.6203 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.5955, allocations: 111.9 kB / 0.6204 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.5957, allocations: 64.81 kB / 0.6204 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.5957, allocations: 17.05 kB / 0.6205 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.597, allocations: 1.558 MB / 0.622 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.597, allocations: 3.938 kB / 0.622 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5981, allocations: 0.7706 MB / 0.6227 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.5984, allocations: 168.7 kB / 0.6229 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.5984, allocations: 16 kB / 0.6229 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.5989, allocations: 35.88 kB / 0.6229 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.5989, allocations: 23.97 kB / 0.623 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.599, allocations: 19.98 kB / 0.623 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002304/0.5992, allocations: 237.9 kB / 0.6232 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5992, allocations: 0 / 0.6232 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000552/0.5998, allocations: 136.8 kB / 0.6233 GB, free: 14.7 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.0001723/0.6, allocations: 115.9 kB / 0.6234 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.6011, allocations: 0.7526 MB / 0.6242 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6011, allocations: 0 / 0.6242 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.6016, allocations: 338.3 kB / 0.6245 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.6028, allocations: 238.3 kB / 0.6247 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.605, allocations: 1.274 MB / 0.626 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.6054, allocations: 0.8275 MB / 0.6268 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004395/0.6059, allocations: 100.3 kB / 0.6269 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.606, allocations: 35.44 kB / 0.6269 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.606, allocations: 0 / 0.6269 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.01575/0.6218, allocations: 9.359 MB / 0.6361 GB, free: 1.734 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)