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.0008729/0.0008729, allocations: 98.27 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.007228/0.007228, allocations: 172.2 kB / 16.27 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.637/1.637, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4513/0.4513, allocations: 55.01 MB / 325.8 MB, free: 0.6055 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.0006946/0.000695, allocations: 12 kB / 397.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4193, allocations: 60.72 MB / 458 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.1847/0.604, allocations: 156.9 MB / 0.6005 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.607, allocations: 2.345 MB / 0.6028 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.6073, allocations: 0 / 0.6028 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.608, allocations: 230.9 kB / 0.603 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008804/0.6089, allocations: 426 kB / 0.6034 GB, free: 7.047 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007831/0.6097, allocations: 318.2 kB / 0.6037 GB, free: 6.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.6111, allocations: 1.598 MB / 0.6052 GB, free: 5.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.6113, allocations: 109.6 kB / 0.6053 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009053/0.6122, allocations: 0.5025 MB / 0.6058 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.6128, allocations: 379.6 kB / 0.6062 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.6129, allocations: 24 kB / 0.6062 GB, free: 4.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.6131, allocations: 31.94 kB / 0.6063 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.6133, allocations: 191.5 kB / 0.6064 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.6136, allocations: 264.7 kB / 0.6067 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.6143, allocations: 0.6658 MB / 0.6073 GB, free: 2.992 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6143, allocations: 4 kB / 0.6073 GB, free: 2.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6143, allocations: 0 / 0.6073 GB, free: 2.988 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.6143, allocations: 4 kB / 0.6073 GB, free: 2.984 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.001163/0.6155, allocations: 0.6335 MB / 0.608 GB, free: 2.305 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6155, allocations: 11.97 kB / 0.608 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.6159, allocations: 55.44 kB / 0.608 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.6163, allocations: 334 kB / 0.6083 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.6163, allocations: 28.94 kB / 0.6084 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.6164, allocations: 36 kB / 0.6084 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.617, allocations: 410.4 kB / 0.6088 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.6171, allocations: 7.906 kB / 0.6088 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.6171, allocations: 16 kB / 0.6088 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.6171, allocations: 8 kB / 0.6088 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.6177, allocations: 383.8 kB / 0.6092 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.6199, allocations: 1.581 MB / 0.6107 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.6204, allocations: 282.9 kB / 0.611 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.6206, allocations: 149.4 kB / 0.6112 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.6207, allocations: 11.98 kB / 0.6112 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6207, allocations: 38.56 kB / 0.6112 GB, free: 14.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.6207, allocations: 0 / 0.6112 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=41): time 0.004263/0.625, allocations: 1.855 MB / 0.613 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.625, allocations: 59.34 kB / 0.6131 GB, free: 12.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.6254, allocations: 319 kB / 0.6134 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.6254, allocations: 37.7 kB / 0.6134 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.6256, allocations: 196.5 kB / 0.6136 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.6257, allocations: 145.8 kB / 0.6137 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.6257, allocations: 37.7 kB / 0.6138 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6259, allocations: 346.8 kB / 0.6141 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.6261, allocations: 164.8 kB / 0.6143 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.6265, allocations: 212.1 kB / 0.6145 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.6271, allocations: 402.1 kB / 0.6148 GB, free: 10.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6271, allocations: 0 / 0.6148 GB, free: 10.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008693/0.6279, allocations: 0.5489 MB / 0.6154 GB, free: 10.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.628, allocations: 8.031 kB / 0.6154 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.628, allocations: 4 kB / 0.6154 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.6283, allocations: 87.33 kB / 0.6155 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.629, allocations: 119.8 kB / 0.6156 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.6322, allocations: 4.174 MB / 0.6197 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.6326, allocations: 32.11 kB / 0.6197 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.6326, allocations: 16 kB / 0.6197 GB, free: 5.453 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.0002655/0.6329, allocations: 190.6 kB / 0.6199 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.633, allocations: 43.52 kB / 0.6199 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.6331, allocations: 52.17 kB / 0.62 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.6331, allocations: 4 kB / 0.62 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6331, allocations: 3.938 kB / 0.62 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008222/0.634, allocations: 0.6438 MB / 0.6206 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.6356, allocations: 1.14 MB / 0.6217 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.6356, allocations: 3.938 kB / 0.6217 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.6363, allocations: 117.1 kB / 0.6219 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.6365, allocations: 53.66 kB / 0.6219 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6365, allocations: 19.98 kB / 0.6219 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.6378, allocations: 1.564 MB / 0.6234 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6379, allocations: 7.969 kB / 0.6235 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.6389, allocations: 0.7706 MB / 0.6242 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.6391, allocations: 168.7 kB / 0.6244 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.6392, allocations: 12 kB / 0.6244 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.6396, allocations: 32.14 kB / 0.6244 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.6397, allocations: 27.97 kB / 0.6244 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.6398, allocations: 24.64 kB / 0.6245 GB, free: 256 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.64, allocations: 237.9 kB / 0.6247 GB, free: 16 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.64, allocations: 0 / 0.6247 GB, free: 16 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005904/0.6406, allocations: 132 kB / 0.6248 GB, free: 15.88 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.0001796/0.6408, allocations: 116.7 kB / 0.6249 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.6418, allocations: 0.7564 MB / 0.6257 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6418, allocations: 4 kB / 0.6257 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.6423, allocations: 327.6 kB / 0.626 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6436, allocations: 237.3 kB / 0.6262 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.6457, allocations: 1.361 MB / 0.6275 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.6461, allocations: 0.8236 MB / 0.6283 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.6465, allocations: 95.34 kB / 0.6284 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6466, allocations: 43.42 kB / 0.6285 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.6466, allocations: 0 / 0.6285 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.01509/0.6617, allocations: 9.284 MB / 0.6375 GB, free: 2.879 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: