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.001483/0.001483, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.001428/0.001428, allocations: 56.39 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2238, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04316/0.267, allocations: 37.44 MB / 362.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.2734, allocations: 4.58 MB / 367.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.274, allocations: 7.938 kB / 367.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.2754, allocations: 290.2 kB / 367.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.2771, allocations: 485.3 kB / 368.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005864/0.283, allocations: 1.639 MB / 369.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.2851, allocations: 1.273 MB / 371 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.2854, allocations: 166.5 kB / 371.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/0.2863, allocations: 482.4 kB / 371.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.287, allocations: 406.4 kB / 372 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.2871, allocations: 44 kB / 372.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.2891, allocations: 0.7531 MB / 372.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.2893, allocations: 139.6 kB / 373 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.2897, allocations: 267 kB / 373.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.2916, allocations: 1.044 MB / 374.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2917, allocations: 0 / 374.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2917, allocations: 3.938 kB / 374.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.2917, allocations: 4 kB / 374.3 MB, free: 2.785 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.001465/0.2932, allocations: 0.7681 MB / 375 MB, free: 1.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2932, allocations: 15.89 kB / 375.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.2939, allocations: 80.34 kB / 375.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.2944, allocations: 327.5 kB / 375.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.2944, allocations: 29.38 kB / 375.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.2945, allocations: 48.28 kB / 375.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.2952, allocations: 467.7 kB / 376 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2953, allocations: 11.92 kB / 376 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.2953, allocations: 20 kB / 376 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2953, allocations: 12 kB / 376 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.2958, allocations: 295.7 kB / 376.3 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.3102, allocations: 6.765 MB / 383.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.3108, allocations: 266.5 kB / 383.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.311, allocations: 148.8 kB / 383.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.3218, allocations: 3.889 MB / 387.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.525e-05/0.3219, allocations: 38.5 kB / 387.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.3219, allocations: 0 / 387.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01236/0.3343, allocations: 2.458 MB / 389.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3344, allocations: 55.41 kB / 389.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3348, allocations: 307.2 kB / 390.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.3349, allocations: 33.7 kB / 390.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3351, allocations: 220 kB / 390.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3353, allocations: 169.6 kB / 390.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3354, allocations: 98.16 kB / 390.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3356, allocations: 342.8 kB / 391.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.3359, allocations: 153.1 kB / 391.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.3363, allocations: 275.7 kB / 391.5 MB, free: 352 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.337, allocations: 472.2 kB / 392 MB, free: 15.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.337, allocations: 4 kB / 392 MB, free: 15.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001263/0.3383, allocations: 0.5878 MB / 392.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3383, allocations: 7.938 kB / 392.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3383, allocations: 8.406 kB / 392.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00821/0.3465, allocations: 1.855 MB / 394.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.3471, allocations: 107.9 kB / 394.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.3496, allocations: 2.558 MB / 397.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.35, allocations: 12 kB / 397.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.3501, allocations: 23.98 kB / 397.1 MB, free: 10.45 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.0003066/0.3504, allocations: 177.7 kB / 397.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3505, allocations: 43.59 kB / 397.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.3518, allocations: 0.8513 MB / 398.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.3518, allocations: 15.98 kB / 398.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3518, allocations: 4 kB / 398.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.3529, allocations: 0.9572 MB / 399.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.3553, allocations: 1.489 MB / 400.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3553, allocations: 0 / 400.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.3556, allocations: 87.92 kB / 400.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003433/0.3591, allocations: 0.6141 MB / 401.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.3591, allocations: 19.92 kB / 401.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.3602, allocations: 1.28 MB / 402.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3602, allocations: 0 / 402.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.3619, allocations: 1.223 MB / 403.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.362, allocations: 116.5 kB / 404 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/0.3621, allocations: 12 kB / 404 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3624, allocations: 19.97 kB / 404 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3624, allocations: 19.97 kB / 404 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.3625, allocations: 23.98 kB / 404.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.3627, allocations: 209.9 kB / 404.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.3627, allocations: 0 / 404.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008141/0.3635, allocations: 235.9 kB / 404.5 MB, free: 2.797 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.0007842/0.3643, allocations: 282.9 kB / 404.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.3659, allocations: 0.7143 MB / 405.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3659, allocations: 0 / 405.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009641/0.3669, allocations: 433 kB / 405.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.3682, allocations: 241 kB / 406.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3703, allocations: 1.245 MB / 407.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3708, allocations: 0.8438 MB / 408.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.3712, allocations: 68.34 kB / 408.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.3713, allocations: 39.42 kB / 408.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3713, allocations: 4 kB / 408.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.02293/0.3942, allocations: 12.64 MB / 421 MB, free: 2.211 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)