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.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001111/0.001111, allocations: 197.4 kB / 16.14 MB, free: 6.664 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 MB, free: 4.762 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.001186/0.001186, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2209, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03391/0.2548, allocations: 37.71 MB / 362.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005598/0.2605, allocations: 4.619 MB / 367 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.2609, allocations: 7.938 kB / 367 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.2618, allocations: 250.7 kB / 367.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009389/0.2628, allocations: 469.6 kB / 367.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.2675, allocations: 1.395 MB / 369.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.2693, allocations: 1.959 MB / 371.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.2696, allocations: 119.2 kB / 371.2 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.2702, allocations: 410.5 kB / 371.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.2706, allocations: 430.2 kB / 372 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.2707, allocations: 24 kB / 372 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.2724, allocations: 0.718 MB / 372.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2726, allocations: 119.6 kB / 372.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.2728, allocations: 254.9 kB / 373.1 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2741, allocations: 1.029 MB / 374.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2741, allocations: 0 / 374.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2742, allocations: 0 / 374.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2742, allocations: 3.938 kB / 374.1 MB, free: 2.539 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.001139/0.2753, allocations: 0.7682 MB / 374.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2754, allocations: 16.03 kB / 374.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005781/0.2759, allocations: 80.34 kB / 375 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2763, allocations: 327.5 kB / 375.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.2764, allocations: 29.38 kB / 375.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.2764, allocations: 52.25 kB / 375.4 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.2771, allocations: 471.6 kB / 375.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.2771, allocations: 8 kB / 375.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.2772, allocations: 16 kB / 375.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2772, allocations: 12 kB / 375.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.2777, allocations: 303.7 kB / 376.2 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.2912, allocations: 6.754 MB / 382.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.2917, allocations: 270.5 kB / 383.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.292, allocations: 152.7 kB / 383.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.3023, allocations: 3.881 MB / 387.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.3024, allocations: 34.56 kB / 387.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.3024, allocations: 0 / 387.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01208/0.3145, allocations: 2.462 MB / 389.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3146, allocations: 59.41 kB / 389.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3149, allocations: 307.1 kB / 390.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.315, allocations: 29.7 kB / 390.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3152, allocations: 228.1 kB / 390.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3153, allocations: 165.6 kB / 390.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3154, allocations: 98.14 kB / 390.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3157, allocations: 350.8 kB / 390.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.3159, allocations: 153.1 kB / 391.1 MB, free: 424 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.3163, allocations: 267.7 kB / 391.4 MB, free: 104 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.3169, allocations: 476.3 kB / 391.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.317, allocations: 4 kB / 391.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001049/0.318, allocations: 0.5841 MB / 392.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.318, allocations: 11.94 kB / 392.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3181, allocations: 7.938 kB / 392.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008423/0.3265, allocations: 1.848 MB / 394.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.327, allocations: 107.8 kB / 394.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.3293, allocations: 2.467 MB / 396.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.3297, allocations: 39.98 kB / 396.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.3298, allocations: 24.06 kB / 396.9 MB, free: 10.28 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.0003349/0.3301, allocations: 178.2 kB / 397.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.3302, allocations: 47.45 kB / 397.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.3314, allocations: 0.8514 MB / 398 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3315, allocations: 7.984 kB / 398 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.3315, allocations: 0 / 398 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.3325, allocations: 0.9573 MB / 398.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.3345, allocations: 1.492 MB / 400.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3345, allocations: 4 kB / 400.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.3349, allocations: 71.91 kB / 400.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/0.3384, allocations: 0.614 MB / 401.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.3384, allocations: 19.98 kB / 401.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/0.3394, allocations: 1.284 MB / 402.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3394, allocations: 4.031 kB / 402.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3409, allocations: 1.215 MB / 403.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3411, allocations: 120.6 kB / 403.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.3412, allocations: 12.06 kB / 403.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.3414, allocations: 27.84 kB / 403.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.3415, allocations: 27.95 kB / 403.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.3416, allocations: 19.92 kB / 403.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3418, allocations: 213.9 kB / 404.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3418, allocations: 4 kB / 404.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007642/0.3425, allocations: 231.9 kB / 404.3 MB, free: 2.629 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.0005988/0.3432, allocations: 283.1 kB / 404.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3444, allocations: 0.6909 MB / 405.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3444, allocations: 0 / 405.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.3453, allocations: 429.1 kB / 405.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3466, allocations: 233.6 kB / 405.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3485, allocations: 1.447 MB / 407.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3489, allocations: 0.8324 MB / 408.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3492, allocations: 72.33 kB / 408.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.3493, allocations: 39.44 kB / 408.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3494, allocations: 4 kB / 408.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Templates: time 0.01894/0.3683, allocations: 12.17 MB / 420.5 MB, free: 2.355 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)