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.001017/0.001017, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001133/0.001133, allocations: 195 kB / 16.25 MB, free: 6.633 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.349/1.349, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001166/0.001166, allocations: 47.92 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2257, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03505/0.2608, allocations: 37.3 MB / 362.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.2662, allocations: 4.557 MB / 366.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.2665, allocations: 7.938 kB / 366.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008185/0.2674, allocations: 250.7 kB / 367 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008494/0.2683, allocations: 465.7 kB / 367.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.2728, allocations: 1.461 MB / 368.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.2742, allocations: 1.273 MB / 370.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.2745, allocations: 166.5 kB / 370.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.2751, allocations: 482.4 kB / 370.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.2755, allocations: 422.3 kB / 371.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.2756, allocations: 44 kB / 371.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.2771, allocations: 0.7648 MB / 372 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2772, allocations: 131.6 kB / 372.1 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.2775, allocations: 282.9 kB / 372.4 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2787, allocations: 1.04 MB / 373.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2787, allocations: 0 / 373.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2787, allocations: 0 / 373.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2787, allocations: 0 / 373.4 MB, free: 3.359 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.001038/0.2798, allocations: 0.7759 MB / 374.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2798, allocations: 11.89 kB / 374.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.2804, allocations: 84.34 kB / 374.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2808, allocations: 331.5 kB / 374.6 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2808, allocations: 29.38 kB / 374.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.2809, allocations: 40.28 kB / 374.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.2816, allocations: 475.7 kB / 375.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2816, allocations: 7.875 kB / 375.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.2817, allocations: 24 kB / 375.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2817, allocations: 8 kB / 375.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.2821, allocations: 299.7 kB / 375.5 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.2952, allocations: 6.758 MB / 382.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2957, allocations: 266.5 kB / 382.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2959, allocations: 152.8 kB / 382.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.3064, allocations: 3.877 MB / 386.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.3065, allocations: 46.48 kB / 386.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.465e-06/0.3065, allocations: 0 / 386.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01196/0.3185, allocations: 2.458 MB / 389 MB, free: 2.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.3185, allocations: 55.41 kB / 389.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.3189, allocations: 303.2 kB / 389.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.3189, allocations: 33.7 kB / 389.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3191, allocations: 220.1 kB / 389.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3192, allocations: 169.6 kB / 389.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.3193, allocations: 102.2 kB / 389.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3195, allocations: 342.8 kB / 390.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.3197, allocations: 153.1 kB / 390.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.3201, allocations: 275.7 kB / 390.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.3207, allocations: 472.2 kB / 391.1 MB, free: 416 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3207, allocations: 0 / 391.1 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001062/0.3218, allocations: 0.5918 MB / 391.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3218, allocations: 7.938 kB / 391.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.3218, allocations: 4 kB / 391.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00793/0.3297, allocations: 1.859 MB / 393.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.3302, allocations: 107.8 kB / 393.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.3321, allocations: 2.557 MB / 396.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3325, allocations: 43.98 kB / 396.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.3325, allocations: 23.98 kB / 396.3 MB, free: 10.99 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.0002086/0.3327, allocations: 185.6 kB / 396.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.3328, allocations: 39.53 kB / 396.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.3339, allocations: 0.8475 MB / 397.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.334, allocations: 15.98 kB / 397.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.334, allocations: 0 / 397.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009471/0.3349, allocations: 0.9612 MB / 398.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.3368, allocations: 1.485 MB / 399.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3368, allocations: 4.031 kB / 399.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.3371, allocations: 75.89 kB / 399.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/0.3405, allocations: 0.6141 MB / 400.5 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.3406, allocations: 27.84 kB / 400.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/0.3416, allocations: 1.277 MB / 401.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3416, allocations: 4.125 kB / 401.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.3431, allocations: 1.219 MB / 403.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3432, allocations: 116.5 kB / 403.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.3433, allocations: 12 kB / 403.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3436, allocations: 35.91 kB / 403.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3436, allocations: 23.95 kB / 403.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.3437, allocations: 19.98 kB / 403.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3439, allocations: 209.9 kB / 403.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3439, allocations: 0 / 403.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007574/0.3447, allocations: 231.9 kB / 403.7 MB, free: 3.34 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.0005701/0.3452, allocations: 282.9 kB / 404 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3467, allocations: 0.7143 MB / 404.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3467, allocations: 0 / 404.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000896/0.3476, allocations: 437 kB / 405.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3488, allocations: 247.9 kB / 405.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3506, allocations: 1.433 MB / 406.8 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.351, allocations: 0.8439 MB / 407.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.3513, allocations: 72.33 kB / 407.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.3514, allocations: 35.44 kB / 407.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3514, allocations: 0 / 407.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Templates: time 0.01812/0.3696, allocations: 12.6 MB / 420.3 MB, free: 2.602 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)