Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 97.72 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.008368/0.008368, allocations: 171.3 kB / 16.27 MB, free: 6.648 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.353/1.353, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004675/0.0004675, allocations: 15.98 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03352/0.2455, allocations: 36.89 MB / 363.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005533/0.2511, allocations: 4.573 MB / 368.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.2517, allocations: 4 kB / 368.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.2526, allocations: 250.7 kB / 368.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.2539, allocations: 469.6 kB / 369.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.2581, allocations: 1.395 MB / 370.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2599, allocations: 1.951 MB / 372.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.2602, allocations: 127.2 kB / 372.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.2607, allocations: 398.5 kB / 373.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.2612, allocations: 418.3 kB / 373.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.2612, allocations: 24 kB / 373.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.2626, allocations: 0.7219 MB / 374.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2628, allocations: 103.6 kB / 374.3 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.263, allocations: 280.6 kB / 374.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2641, allocations: 1.009 MB / 375.6 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2641, allocations: 0 / 375.6 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2641, allocations: 4 kB / 375.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.2641, allocations: 0 / 375.6 MB, free: 2.637 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009363/0.2651, allocations: 0.6824 MB / 376.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2651, allocations: 12.03 kB / 376.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.2657, allocations: 76.34 kB / 376.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.2661, allocations: 331.4 kB / 376.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2661, allocations: 29.38 kB / 376.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.2662, allocations: 52.31 kB / 376.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.2669, allocations: 475.6 kB / 377.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2669, allocations: 4 kB / 377.2 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.2669, allocations: 16 kB / 377.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.267, allocations: 12 kB / 377.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.2674, allocations: 299.7 kB / 377.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/0.2807, allocations: 6.75 MB / 384.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.2812, allocations: 274.5 kB / 384.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.2815, allocations: 152.7 kB / 384.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.2921, allocations: 3.877 MB / 388.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2921, allocations: 34.56 kB / 388.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.2921, allocations: 0 / 388.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0118/0.304, allocations: 2.493 MB / 391.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.304, allocations: 55.41 kB / 391.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3044, allocations: 303.2 kB / 391.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3044, allocations: 33.7 kB / 391.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3045, allocations: 224 kB / 391.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3047, allocations: 161.7 kB / 391.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.3047, allocations: 53.69 kB / 391.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3048, allocations: 346.8 kB / 392.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.3051, allocations: 149.1 kB / 392.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.3054, allocations: 283.7 kB / 392.7 MB, free: 328 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.306, allocations: 468.4 kB / 393.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.306, allocations: 0 / 393.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001018/0.3071, allocations: 0.5955 MB / 393.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3071, allocations: 11.94 kB / 393.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3071, allocations: 4 kB / 393.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006877/0.314, allocations: 0.7639 MB / 394.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.3144, allocations: 111.8 kB / 394.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.3165, allocations: 2.471 MB / 397.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.3169, allocations: 40.02 kB / 397.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.317, allocations: 20 kB / 397.2 MB, free: 11.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.3172, allocations: 177.6 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.3173, allocations: 43.56 kB / 397.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.3185, allocations: 0.8514 MB / 398.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3185, allocations: 4 kB / 398.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3185, allocations: 8 kB / 398.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00095/0.3195, allocations: 0.9611 MB / 399.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.3214, allocations: 1.492 MB / 400.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3214, allocations: 0 / 400.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.3217, allocations: 71.94 kB / 400.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/0.3254, allocations: 0.6414 MB / 401.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.3255, allocations: 8 kB / 401.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008971/0.3264, allocations: 1.28 MB / 402.7 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3264, allocations: 3.984 kB / 402.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3279, allocations: 1.23 MB / 403.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.328, allocations: 120.6 kB / 404.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.3281, allocations: 8 kB / 404.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.3284, allocations: 31.83 kB / 404.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3284, allocations: 27.97 kB / 404.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.3285, allocations: 19.92 kB / 404.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.3287, allocations: 209.9 kB / 404.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3287, allocations: 4 kB / 404.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007321/0.3294, allocations: 231.9 kB / 404.6 MB, free: 3.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005718/0.33, allocations: 270.9 kB / 404.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3311, allocations: 0.6948 MB / 405.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3311, allocations: 0 / 405.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008643/0.332, allocations: 421 kB / 406 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3334, allocations: 233.2 kB / 406.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3353, allocations: 1.541 MB / 407.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3356, allocations: 0.8363 MB / 408.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.3359, allocations: 72.33 kB / 408.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.336, allocations: 35.44 kB / 408.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.336, allocations: 0 / 408.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01868/0.3547, allocations: 12.11 MB / 420.8 MB, free: 3.621 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)