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.001152/0.001152, 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.001187/0.001187, allocations: 197 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.489/1.489, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4136/0.4136, allocations: 54.96 MB / 324.7 MB, free: 15.96 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.001552/0.001552, allocations: 71.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.143, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.4921/0.6352, allocations: 161.2 MB / 0.6017 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.6389, allocations: 2.392 MB / 0.604 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.6392, allocations: 7.938 kB / 0.604 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008411/0.64, allocations: 250.6 kB / 0.6043 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009288/0.641, allocations: 429.7 kB / 0.6047 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/0.6417, allocations: 333.8 kB / 0.605 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.6427, allocations: 1.048 MB / 0.606 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.643, allocations: 149 kB / 0.6062 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.6442, allocations: 0.5817 MB / 0.6068 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.6448, allocations: 375.3 kB / 0.6071 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.6449, allocations: 51.98 kB / 0.6072 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.6451, allocations: 61.97 kB / 0.6072 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.6454, allocations: 203.5 kB / 0.6074 GB, free: 344 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.6458, allocations: 275 kB / 0.6077 GB, free: 68 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.6465, allocations: 0.7011 MB / 0.6084 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6465, allocations: 3.938 kB / 0.6084 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6465, allocations: 0 / 0.6084 GB, free: 15.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.6466, allocations: 0 / 0.6084 GB, free: 15.36 MB / 494.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.00141/0.648, allocations: 0.7224 MB / 0.6091 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.648, allocations: 12.03 kB / 0.6091 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.6483, allocations: 52.39 kB / 0.6091 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.6488, allocations: 330 kB / 0.6094 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.6488, allocations: 29 kB / 0.6095 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.6489, allocations: 36 kB / 0.6095 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.6496, allocations: 414.3 kB / 0.6099 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6496, allocations: 0 / 0.6099 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.6497, allocations: 20 kB / 0.6099 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.6497, allocations: 8 kB / 0.6099 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.6503, allocations: 391.7 kB / 0.6103 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.6526, allocations: 1.587 MB / 0.6119 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.653, allocations: 283.6 kB / 0.6121 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.6533, allocations: 152.8 kB / 0.6123 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.6533, allocations: 5.219 kB / 0.6123 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6533, allocations: 38.56 kB / 0.6123 GB, free: 11.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.6533, allocations: 0 / 0.6123 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.004397/0.6577, allocations: 1.851 MB / 0.6141 GB, free: 9.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.6578, allocations: 59.34 kB / 0.6142 GB, free: 9.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.6582, allocations: 323 kB / 0.6145 GB, free: 8.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.6582, allocations: 33.7 kB / 0.6145 GB, free: 8.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.6584, allocations: 192.5 kB / 0.6147 GB, free: 8.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.6585, allocations: 141.9 kB / 0.6148 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.6586, allocations: 86.03 kB / 0.6149 GB, free: 8.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6588, allocations: 346.8 kB / 0.6152 GB, free: 7.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.659, allocations: 162.1 kB / 0.6154 GB, free: 7.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.6593, allocations: 212.2 kB / 0.6156 GB, free: 7.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.6599, allocations: 406.1 kB / 0.616 GB, free: 7.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6599, allocations: 0 / 0.616 GB, free: 7.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008943/0.6608, allocations: 0.541 MB / 0.6165 GB, free: 6.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6608, allocations: 11.98 kB / 0.6165 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6608, allocations: 0 / 0.6165 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.6611, allocations: 94.56 kB / 0.6166 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.6618, allocations: 115.9 kB / 0.6167 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.6652, allocations: 4.554 MB / 0.6212 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.6655, allocations: 9.406 kB / 0.6212 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.6655, allocations: 15.94 kB / 0.6212 GB, free: 1.328 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.0002374/0.6658, allocations: 181.9 kB / 0.6214 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.6659, allocations: 39.56 kB / 0.6214 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.666, allocations: 56.64 kB / 0.6215 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.666, allocations: 4 kB / 0.6215 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.666, allocations: 0 / 0.6215 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008468/0.6669, allocations: 0.6553 MB / 0.6221 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.6685, allocations: 1.133 MB / 0.6232 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.6685, allocations: 7.938 kB / 0.6232 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.6692, allocations: 120 kB / 0.6233 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.6694, allocations: 56.75 kB / 0.6234 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.6694, allocations: 17.05 kB / 0.6234 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.6708, allocations: 1.733 MB / 0.6251 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6708, allocations: 0 / 0.6251 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.6719, allocations: 0.7703 MB / 0.6259 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.6721, allocations: 168.7 kB / 0.626 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.6722, allocations: 16.94 kB / 0.626 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.6726, allocations: 15.98 kB / 0.626 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.6727, allocations: 27.97 kB / 0.6261 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.6727, allocations: 27.91 kB / 0.6261 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002367/0.6729, allocations: 233.9 kB / 0.6263 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6729, allocations: 0 / 0.6263 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000567/0.6735, allocations: 132 kB / 0.6264 GB, free: 11.61 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.0001897/0.6737, allocations: 115.1 kB / 0.6266 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.675, allocations: 0.7916 MB / 0.6273 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.675, allocations: 4 kB / 0.6273 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.6755, allocations: 328.1 kB / 0.6276 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6767, allocations: 253.6 kB / 0.6279 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.6789, allocations: 1.128 MB / 0.629 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.6793, allocations: 0.8317 MB / 0.6298 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003931/0.6797, allocations: 91.33 kB / 0.6299 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.6798, allocations: 43.44 kB / 0.6299 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.6798, allocations: 3.938 kB / 0.6299 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.244/0.9238, allocations: 9.789 MB / 0.6395 GB, free: 158.9 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)