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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2798/0.2798, allocations: 54.33 MB / 66.89 MB, free: 6.098 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001018/0.001018, allocations: 184.7 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.607/1.607, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001888/0.001888, allocations: 108 kB / 346.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.286e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1687, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.52/12.69, allocations: 4.613 GB / 5.072 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/12.69, allocations: 83.94 kB / 5.072 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8254/13.51, allocations: 251 MB / 5.317 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.084e-06/13.51, allocations: 4 kB / 5.317 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.003e-05/13.51, allocations: 8 kB / 5.317 GB, free: 21.34 MB / 0.4948 GB 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.00149/13.52, allocations: 0.7592 MB / 5.318 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/13.52, allocations: 11.97 kB / 5.318 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/13.52, allocations: 55.52 kB / 5.318 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/13.52, allocations: 322.7 kB / 5.318 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/13.52, allocations: 28.78 kB / 5.318 GB, free: 20.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/13.52, allocations: 35.09 kB / 5.318 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/13.52, allocations: 391.7 kB / 5.319 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/13.52, allocations: 0 / 5.319 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/13.52, allocations: 16 kB / 5.319 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/13.52, allocations: 12 kB / 5.319 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/13.52, allocations: 382.9 kB / 5.319 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/13.52, allocations: 1.569 MB / 5.321 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/13.52, allocations: 285.8 kB / 5.321 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/13.52, allocations: 152.8 kB / 5.321 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/13.52, allocations: 4 kB / 5.321 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/13.52, allocations: 42.56 kB / 5.321 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/13.52, allocations: 0 / 5.321 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.003207/13.52, allocations: 1.424 MB / 5.322 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/13.52, allocations: 59.34 kB / 5.322 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/13.52, allocations: 295.3 kB / 5.323 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/13.52, allocations: 29.7 kB / 5.323 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/13.52, allocations: 196.5 kB / 5.323 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/13.52, allocations: 145.8 kB / 5.323 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/13.52, allocations: 4 kB / 5.323 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/13.52, allocations: 346.8 kB / 5.323 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/13.52, allocations: 156.8 kB / 5.324 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/13.52, allocations: 212.1 kB / 5.324 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/13.53, allocations: 189.6 kB / 5.324 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/13.53, allocations: 0 / 5.324 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007589/13.53, allocations: 0.545 MB / 5.325 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/13.53, allocations: 8 kB / 5.325 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/13.53, allocations: 0 / 5.325 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/13.53, allocations: 94.52 kB / 5.325 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/13.53, allocations: 115.8 kB / 5.325 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/13.53, allocations: 4.175 MB / 5.329 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/13.53, allocations: 32.02 kB / 5.329 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/13.53, allocations: 16 kB / 5.329 GB, free: 8.512 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000168/13.53, allocations: 125 kB / 5.329 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/13.53, allocations: 43.61 kB / 5.329 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/13.53, allocations: 55.2 kB / 5.329 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/13.53, allocations: 4 kB / 5.329 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/13.53, allocations: 3.953 kB / 5.329 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007362/13.53, allocations: 0.6474 MB / 5.33 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/13.53, allocations: 1.128 MB / 5.331 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/13.53, allocations: 0 / 5.331 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/13.53, allocations: 120 kB / 5.331 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/13.53, allocations: 60.81 kB / 5.331 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/13.53, allocations: 19.98 kB / 5.331 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009662/13.53, allocations: 1.545 MB / 5.332 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/13.53, allocations: 4.031 kB / 5.332 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/13.54, allocations: 0.8215 MB / 5.333 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/13.54, allocations: 164.7 kB / 5.333 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/13.54, allocations: 15.98 kB / 5.333 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/13.54, allocations: 31.89 kB / 5.334 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/13.54, allocations: 28.16 kB / 5.334 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/13.54, allocations: 23.97 kB / 5.334 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002016/13.54, allocations: 227.1 kB / 5.334 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/13.54, allocations: 0 / 5.334 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009041/13.54, allocations: 220 kB / 5.334 GB, free: 2.863 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001117/13.54, allocations: 1.022 MB / 5.335 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009782/13.54, allocations: 0.733 MB / 5.336 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/13.54, allocations: 0 / 5.336 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/13.54, allocations: 334.3 kB / 5.336 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/13.54, allocations: 233.5 kB / 5.336 GB, free: 500 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3374/13.88, allocations: 0.8537 MB / 5.337 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/13.88, allocations: 0.838 MB / 5.338 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006909/13.88, allocations: 101 kB / 5.338 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/13.88, allocations: 38.08 kB / 5.338 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/13.88, allocations: 1.203 kB / 5.338 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0474/13.93, allocations: 25.02 MB / 5.362 GB, free: 102.2 MB / 0.4948 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)