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.3372/0.3372, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001223/0.001223, allocations: 197.9 kB / 83.98 MB, free: 10.84 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.966/1.966, allocations: 194.4 MB / 292.3 MB, free: 3.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001824/0.001824, allocations: 113.7 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.91/12.06, allocations: 4.613 GB / 5.078 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/12.06, allocations: 83.94 kB / 5.078 GB, free: 104 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7841/12.84, allocations: 251.5 MB / 5.324 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/12.84, allocations: 0 / 5.324 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.106e-05/12.84, allocations: 12 kB / 5.324 GB, free: 47.88 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.001504/12.84, allocations: 0.7835 MB / 5.325 GB, free: 47.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/12.84, allocations: 12.03 kB / 5.325 GB, free: 47.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/12.84, allocations: 55.52 kB / 5.325 GB, free: 46.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/12.84, allocations: 333.7 kB / 5.325 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/12.84, allocations: 29 kB / 5.325 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/12.84, allocations: 36 kB / 5.325 GB, free: 46.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/12.84, allocations: 390.4 kB / 5.326 GB, free: 46.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/12.84, allocations: 7.984 kB / 5.326 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/12.84, allocations: 16 kB / 5.326 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/12.84, allocations: 8 kB / 5.326 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/12.84, allocations: 387.7 kB / 5.326 GB, free: 45.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/12.85, allocations: 1.571 MB / 5.327 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/12.85, allocations: 286.8 kB / 5.328 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/12.85, allocations: 7.984 kB / 5.328 GB, free: 43.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/12.85, allocations: 38.56 kB / 5.328 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/12.85, allocations: 0 / 5.328 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.003749/12.85, allocations: 1.836 MB / 5.33 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/12.85, allocations: 59.41 kB / 5.33 GB, free: 41.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/12.85, allocations: 294 kB / 5.33 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/12.85, allocations: 33.7 kB / 5.33 GB, free: 41.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/12.85, allocations: 188.5 kB / 5.33 GB, free: 41.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/12.85, allocations: 145.9 kB / 5.33 GB, free: 41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/12.85, allocations: 15.94 kB / 5.33 GB, free: 40.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/12.85, allocations: 342.8 kB / 5.331 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/12.85, allocations: 172.8 kB / 5.331 GB, free: 40.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/12.85, allocations: 204.2 kB / 5.331 GB, free: 40.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/12.85, allocations: 196.7 kB / 5.331 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/12.85, allocations: 0 / 5.331 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007316/12.85, allocations: 0.5451 MB / 5.332 GB, free: 39.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/12.85, allocations: 4 kB / 5.332 GB, free: 39.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/12.85, allocations: 4 kB / 5.332 GB, free: 39.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/12.85, allocations: 94.45 kB / 5.332 GB, free: 39.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/12.85, allocations: 115.9 kB / 5.332 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/12.86, allocations: 4.196 MB / 5.336 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/12.86, allocations: 35.89 kB / 5.336 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/12.86, allocations: 16 kB / 5.336 GB, free: 34.64 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 () * 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 (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.0002374/12.86, allocations: 185.8 kB / 5.336 GB, free: 34.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/12.86, allocations: 35.62 kB / 5.336 GB, free: 34.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/12.86, allocations: 55.38 kB / 5.336 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/12.86, allocations: 4 kB / 5.336 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/12.86, allocations: 0 / 5.336 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006611/12.86, allocations: 0.6555 MB / 5.337 GB, free: 33.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/12.86, allocations: 1.14 MB / 5.338 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/12.86, allocations: 0 / 5.338 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/12.86, allocations: 116 kB / 5.338 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/12.86, allocations: 64.67 kB / 5.338 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/12.86, allocations: 11.98 kB / 5.338 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009549/12.86, allocations: 1.564 MB / 5.34 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/12.86, allocations: 0 / 5.34 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/12.86, allocations: 0.8287 MB / 5.341 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/12.86, allocations: 164.7 kB / 5.341 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/12.86, allocations: 15.94 kB / 5.341 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/12.86, allocations: 43.81 kB / 5.341 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/12.86, allocations: 27.92 kB / 5.341 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/12.86, allocations: 23.97 kB / 5.341 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00019/12.86, allocations: 229.9 kB / 5.341 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/12.86, allocations: 0 / 5.341 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000875/12.86, allocations: 224 kB / 5.341 GB, free: 28.89 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 () * 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 (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.001076/12.86, allocations: 1.008 MB / 5.342 GB, free: 27.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009247/12.86, allocations: 0.7459 MB / 5.343 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/12.86, allocations: 3.938 kB / 5.343 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004018/12.87, allocations: 326.8 kB / 5.343 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/12.87, allocations: 236.9 kB / 5.344 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/12.87, allocations: 1.307 MB / 5.345 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/12.87, allocations: 0.8392 MB / 5.346 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004145/12.87, allocations: 95.33 kB / 5.346 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/12.87, allocations: 39.42 kB / 5.346 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/12.87, allocations: 0 / 5.346 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.02593/12.89, allocations: 22.15 MB / 5.367 GB, free: 2.035 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)