Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001462/0.001462, 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.001058/0.001058, allocations: 192.5 kB / 16.25 MB, free: 6.578 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.372/1.372, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.00121/0.00121, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2167, allocations: 46.62 MB / 324.8 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03302/0.2498, allocations: 37.3 MB / 362.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.2553, allocations: 4.557 MB / 366.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.2557, allocations: 7.938 kB / 366.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009434/0.2568, allocations: 258.7 kB / 367 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008343/0.2576, allocations: 465.7 kB / 367.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.2618, allocations: 1.445 MB / 368.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2632, allocations: 1.273 MB / 370.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.2635, allocations: 166.5 kB / 370.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.264, allocations: 478.4 kB / 370.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.2645, allocations: 426.3 kB / 371.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.2646, allocations: 48 kB / 371.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.266, allocations: 0.7687 MB / 372 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.2661, allocations: 131.6 kB / 372.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.2664, allocations: 282.9 kB / 372.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2676, allocations: 1.04 MB / 373.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2676, allocations: 0 / 373.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2676, allocations: 0 / 373.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.2677, allocations: 0 / 373.4 MB, free: 3.34 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.001076/0.2687, allocations: 0.7759 MB / 374.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2688, allocations: 11.89 kB / 374.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.2693, allocations: 84.33 kB / 374.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.2697, allocations: 331.5 kB / 374.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2698, allocations: 29.38 kB / 374.7 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.2698, allocations: 40.28 kB / 374.7 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.2705, allocations: 471.7 kB / 375.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.2706, allocations: 3.938 kB / 375.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.2706, allocations: 20 kB / 375.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2706, allocations: 12 kB / 375.2 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.2711, allocations: 311.6 kB / 375.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.285, allocations: 6.738 MB / 382.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.2854, allocations: 270.5 kB / 382.5 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.2857, allocations: 156.8 kB / 382.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.2964, allocations: 3.889 MB / 386.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.996e-05/0.2965, allocations: 38.56 kB / 386.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.913e-06/0.2965, allocations: 0 / 386.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01219/0.3087, allocations: 2.462 MB / 389 MB, free: 2.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3088, allocations: 55.41 kB / 389.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.3091, allocations: 307.2 kB / 389.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.3092, allocations: 33.7 kB / 389.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3093, allocations: 216.1 kB / 389.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3094, allocations: 169.5 kB / 389.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.3096, allocations: 98.16 kB / 389.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3097, allocations: 346.8 kB / 390.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.31, allocations: 157.1 kB / 390.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.3103, allocations: 275.7 kB / 390.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/0.3109, allocations: 468.3 kB / 391.1 MB, free: 396 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3109, allocations: 4 kB / 391.1 MB, free: 392 kB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001012/0.3119, allocations: 0.5922 MB / 391.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3119, allocations: 7.938 kB / 391.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3119, allocations: 4 kB / 391.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00797/0.3199, allocations: 1.855 MB / 393.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.3204, allocations: 103.9 kB / 393.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.3223, allocations: 2.573 MB / 396.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.3227, allocations: 36.02 kB / 396.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3228, allocations: 20 kB / 396.3 MB, free: 10.97 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.0002507/0.323, allocations: 177.6 kB / 396.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.3231, allocations: 39.53 kB / 396.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3243, allocations: 0.8514 MB / 397.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3243, allocations: 7.984 kB / 397.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3243, allocations: 4 kB / 397.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009271/0.3253, allocations: 0.9651 MB / 398.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3271, allocations: 1.485 MB / 399.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3271, allocations: 3.984 kB / 399.8 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.3274, allocations: 71.91 kB / 399.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/0.3309, allocations: 0.6218 MB / 400.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.331, allocations: 19.92 kB / 400.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009806/0.332, allocations: 1.281 MB / 401.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.332, allocations: 7.922 kB / 401.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3335, allocations: 1.223 MB / 403.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3336, allocations: 116.5 kB / 403.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.3337, allocations: 16.03 kB / 403.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.334, allocations: 27.88 kB / 403.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.334, allocations: 31.89 kB / 403.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.3341, allocations: 19.98 kB / 403.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.3343, allocations: 209.9 kB / 403.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3343, allocations: 0 / 403.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007266/0.335, allocations: 227.9 kB / 403.7 MB, free: 3.316 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.0005522/0.3356, allocations: 278.9 kB / 404 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3369, allocations: 0.7221 MB / 404.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3369, allocations: 0 / 404.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.3378, allocations: 441 kB / 405.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.339, allocations: 233 kB / 405.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.341, allocations: 1.428 MB / 406.8 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.3414, allocations: 0.8401 MB / 407.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003136/0.3417, allocations: 76.27 kB / 407.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.3418, allocations: 35.44 kB / 407.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3418, allocations: 0 / 407.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Templates: time 0.01831/0.3601, allocations: 12.61 MB / 420.3 MB, free: 2.582 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)