Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 106.9 kB / 16.92 MB, free: 5.781 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.001918/0.001918, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.391/1.391, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.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.001162/0.001162, allocations: 52.39 kB / 280 MB, free: 3.195 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07514/0.07632, allocations: 46.63 MB / 326.6 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02484/0.1012, allocations: 27.04 MB / 353.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.1057, allocations: 4.155 MB / 357.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1059, allocations: 7.938 kB / 357.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.1066, allocations: 202.7 kB / 358 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005587/0.1071, allocations: 338.1 kB / 358.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.111, allocations: 1.474 MB / 359.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.112, allocations: 0.8873 MB / 360.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1123, allocations: 96.69 kB / 360.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/0.1178, allocations: 4.053 MB / 364.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.1181, allocations: 278.9 kB / 365.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.1182, allocations: 32 kB / 365.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.1195, allocations: 0.7142 MB / 365.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1196, allocations: 99.67 kB / 366 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1199, allocations: 199.2 kB / 366.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.121, allocations: 0.834 MB / 367 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.121, allocations: 0 / 367 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.121, allocations: 0 / 367 MB, free: 11.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.121, allocations: 4 kB / 367 MB, free: 11.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009309/0.122, allocations: 0.6471 MB / 367.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.122, allocations: 8.031 kB / 367.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/0.1225, allocations: 64.53 kB / 367.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.1228, allocations: 291.7 kB / 368 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1228, allocations: 20.94 kB / 368 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1229, allocations: 24.38 kB / 368.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.1234, allocations: 342.6 kB / 368.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1234, allocations: 0 / 368.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.1234, allocations: 19.92 kB / 368.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1234, allocations: 8 kB / 368.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1237, allocations: 210 kB / 368.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.1363, allocations: 5.92 MB / 374.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1367, allocations: 178.5 kB / 374.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1369, allocations: 92.92 kB / 374.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1429/0.2797, allocations: 3.879 MB / 378.7 MB, free: 58.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2798, allocations: 36.05 kB / 378.7 MB, free: 58.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.2798, allocations: 4.375 kB / 378.7 MB, free: 58.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006091/0.2859, allocations: 1.406 MB / 380.1 MB, free: 57.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.286, allocations: 55.12 kB / 380.2 MB, free: 57.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.2862, allocations: 265.3 kB / 380.4 MB, free: 57.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2863, allocations: 30.02 kB / 380.5 MB, free: 57.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.2864, allocations: 183.7 kB / 380.7 MB, free: 57.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.2864, allocations: 97.72 kB / 380.7 MB, free: 57.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.2865, allocations: 64.08 kB / 380.8 MB, free: 57.51 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.2866, allocations: 341.6 kB / 381.1 MB, free: 57.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2868, allocations: 94.88 kB / 381.2 MB, free: 57.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2869, allocations: 188 kB / 381.4 MB, free: 57.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.2873, allocations: 303.2 kB / 381.7 MB, free: 56.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2873, allocations: 1.156 kB / 381.7 MB, free: 56.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005907/0.2879, allocations: 391.1 kB / 382.1 MB, free: 56.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2879, allocations: 6.625 kB / 382.1 MB, free: 56.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2879, allocations: 3.016 kB / 382.1 MB, free: 56.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/0.292, allocations: 0.9403 MB / 383.1 MB, free: 56.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2922, allocations: 73.97 kB / 383.1 MB, free: 56.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2934, allocations: 1.975 MB / 385.1 MB, free: 54.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.2935, allocations: 12.09 kB / 385.1 MB, free: 54.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.2936, allocations: 20.77 kB / 385.1 MB, free: 54.63 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.2937, allocations: 155.8 kB / 385.3 MB, free: 54.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.2938, allocations: 26.33 kB / 385.3 MB, free: 54.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.2944, allocations: 0.4884 MB / 385.8 MB, free: 54.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.2944, allocations: 7.812 kB / 385.8 MB, free: 54.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2944, allocations: 0.9688 kB / 385.8 MB, free: 54.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000509/0.295, allocations: 0.7219 MB / 386.5 MB, free: 53.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.296, allocations: 0.9483 MB / 387.5 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2961, allocations: 0.75 kB / 387.5 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2963, allocations: 48.69 kB / 387.5 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.2979, allocations: 320.8 kB / 387.8 MB, free: 52.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.298, allocations: 7.531 kB / 387.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003523/0.2983, allocations: 0.6454 MB / 388.5 MB, free: 52.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2983, allocations: 9.609 kB / 388.5 MB, free: 52.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.2991, allocations: 0.7177 MB / 389.2 MB, free: 51.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.2992, allocations: 101.5 kB / 389.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.2992, allocations: 11.67 kB / 389.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.2994, allocations: 9.25 kB / 389.3 MB, free: 51.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.2995, allocations: 15.23 kB / 389.4 MB, free: 51.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.2995, allocations: 12.98 kB / 389.4 MB, free: 51.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.2996, allocations: 183.2 kB / 389.5 MB, free: 51.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2996, allocations: 0 / 389.5 MB, free: 51.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006222/0.3003, allocations: 192.1 kB / 389.7 MB, free: 51.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005271/0.3008, allocations: 270.3 kB / 390 MB, free: 51.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007401/0.3016, allocations: 456.8 kB / 390.4 MB, free: 51.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3016, allocations: 0.75 kB / 390.4 MB, free: 51.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.302, allocations: 235.2 kB / 390.7 MB, free: 51.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.303, allocations: 173.4 kB / 390.8 MB, free: 51.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.304, allocations: 0.79 MB / 391.6 MB, free: 50.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.3042, allocations: 0.7811 MB / 392.4 MB, free: 50.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.3045, allocations: 53.56 kB / 392.5 MB, free: 50.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.3045, allocations: 32.55 kB / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of SimCode: time 1.113e-06/0.3045, allocations: 0 / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of Templates: time 0.0125/0.317, allocations: 9.908 MB / 402.4 MB, free: 43.23 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)