Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001062/0.001062, allocations: 189.8 kB / 16.25 MB, free: 6.629 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.323/1.323, allocations: 205.1 MB / 222.1 MB, free: 4.664 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2181, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02642/0.2446, allocations: 26.98 MB / 351.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.2492, allocations: 4.136 MB / 356 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.2495, allocations: 7.938 kB / 356 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.2503, allocations: 179 kB / 356.1 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005915/0.2509, allocations: 322.4 kB / 356.4 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.2549, allocations: 1.297 MB / 357.7 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009128/0.2559, allocations: 0.8874 MB / 358.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2561, allocations: 104.6 kB / 358.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006305/0.2624, allocations: 4.332 MB / 363.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.2628, allocations: 290.9 kB / 363.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.2628, allocations: 32 kB / 363.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.2642, allocations: 0.7336 MB / 364.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2643, allocations: 91.72 kB / 364.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.2645, allocations: 187.3 kB / 364.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.2655, allocations: 0.8611 MB / 365.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2655, allocations: 0 / 365.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2655, allocations: 0 / 365.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2656, allocations: 0 / 365.2 MB, free: 11.58 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008579/0.2664, allocations: 0.6471 MB / 365.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2665, allocations: 12.03 kB / 365.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.2669, allocations: 52.55 kB / 366 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.2673, allocations: 295.7 kB / 366.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2673, allocations: 20.94 kB / 366.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.2674, allocations: 24.38 kB / 366.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.2679, allocations: 342.6 kB / 366.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2679, allocations: 0 / 366.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.2679, allocations: 12 kB / 366.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2679, allocations: 8 kB / 366.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2683, allocations: 210 kB / 366.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.2809, allocations: 5.916 MB / 372.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.2812, allocations: 178.6 kB / 372.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2814, allocations: 92.81 kB / 373 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.2919, allocations: 3.877 MB / 376.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.292, allocations: 46.5 kB / 377 MB, free: 14.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.292, allocations: 0 / 377 MB, free: 14.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006494/0.2985, allocations: 1.414 MB / 378.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2985, allocations: 59.34 kB / 378.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2988, allocations: 258.5 kB / 378.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2989, allocations: 33.7 kB / 378.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.299, allocations: 180.2 kB / 378.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.2991, allocations: 90.66 kB / 379 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.2992, allocations: 69.59 kB / 379 MB, free: 12.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2993, allocations: 338.8 kB / 379.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2995, allocations: 87.97 kB / 379.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.2997, allocations: 194.7 kB / 379.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.3001, allocations: 303 kB / 379.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3001, allocations: 0 / 379.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006493/0.3007, allocations: 398.7 kB / 380.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3008, allocations: 8.375 kB / 380.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3008, allocations: 4 kB / 380.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/0.3051, allocations: 0.9378 MB / 381.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3054, allocations: 63.91 kB / 381.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.307, allocations: 1.982 MB / 383.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3072, allocations: 27.92 kB / 383.4 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3073, allocations: 12 kB / 383.4 MB, free: 8.121 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.3074, allocations: 150 kB / 383.5 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.3075, allocations: 31.72 kB / 383.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.3082, allocations: 0.4907 MB / 384 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3082, allocations: 4 kB / 384 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3083, allocations: 0 / 384 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006243/0.3089, allocations: 0.7159 MB / 384.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3101, allocations: 0.9566 MB / 385.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.3101, allocations: 4 kB / 385.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3103, allocations: 47.97 kB / 385.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.312, allocations: 328.3 kB / 386.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.3121, allocations: 7.984 kB / 386.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004537/0.3125, allocations: 0.6499 MB / 386.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3126, allocations: 0 / 386.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.3134, allocations: 0.7204 MB / 387.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.3135, allocations: 104.8 kB / 387.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.3135, allocations: 8 kB / 387.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3137, allocations: 8 kB / 387.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3138, allocations: 24.03 kB / 387.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3138, allocations: 8 kB / 387.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.314, allocations: 190 kB / 387.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.314, allocations: 0 / 387.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006617/0.3147, allocations: 183.9 kB / 388 MB, free: 3.266 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005873/0.3153, allocations: 276.3 kB / 388.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008455/0.3161, allocations: 458.6 kB / 388.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3161, allocations: 0 / 388.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.3166, allocations: 232.4 kB / 388.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.3176, allocations: 176.2 kB / 389.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3189, allocations: 0.9394 MB / 390 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3192, allocations: 0.7721 MB / 390.8 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.3194, allocations: 46.97 kB / 390.9 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.3195, allocations: 31.42 kB / 390.9 MB, free: 288 kB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3195, allocations: 0 / 390.9 MB, free: 288 kB / 318.1 MB Notification: Performance of Templates: time 0.015/0.3345, allocations: 9.866 MB / 400.7 MB, free: 6.406 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)