Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001072/0.001072, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007864/0.007864, allocations: 170 kB / 16.26 MB, free: 6.613 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.363/1.363, allocations: 205.4 MB / 222.5 MB, free: 5.57 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.0008201/0.0008202, allocations: 14.66 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2393, allocations: 47.58 MB / 327 MB, free: 1.531 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02419/0.2635, allocations: 26.62 MB / 353.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004438/0.268, allocations: 4.144 MB / 357.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.2683, allocations: 4 kB / 357.8 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.2688, allocations: 179.1 kB / 358 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.2694, allocations: 322.4 kB / 358.3 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.2731, allocations: 1.25 MB / 359.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2743, allocations: 1.332 MB / 360.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2745, allocations: 80.61 kB / 360.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.2808, allocations: 4.207 MB / 365.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.2811, allocations: 278.8 kB / 365.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.2812, allocations: 16 kB / 365.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.2825, allocations: 0.6985 MB / 366.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.2826, allocations: 75.72 kB / 366.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.2828, allocations: 197 kB / 366.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009658/0.2838, allocations: 0.8259 MB / 367.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2838, allocations: 0 / 367.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2838, allocations: 3.938 kB / 367.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2838, allocations: 4 kB / 367.2 MB, free: 11.16 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007856/0.2846, allocations: 0.5809 MB / 367.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2847, allocations: 12.03 kB / 367.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004261/0.2851, allocations: 52.62 kB / 367.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.2854, allocations: 291.7 kB / 368.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2855, allocations: 20.94 kB / 368.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.2855, allocations: 24.38 kB / 368.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.286, allocations: 338.6 kB / 368.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.286, allocations: 4 kB / 368.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.286, allocations: 12 kB / 368.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2861, allocations: 8 kB / 368.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.2864, allocations: 210 kB / 368.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.2983, allocations: 5.919 MB / 374.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.2987, allocations: 174.7 kB / 374.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.2988, allocations: 92.83 kB / 375 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.3089, allocations: 3.877 MB / 378.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3089, allocations: 38.5 kB / 378.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.913e-06/0.3089, allocations: 0 / 378.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.0062/0.3151, allocations: 1.418 MB / 380.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3152, allocations: 59.34 kB / 380.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.3155, allocations: 258.6 kB / 380.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3155, allocations: 37.7 kB / 380.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3157, allocations: 180.1 kB / 380.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.3157, allocations: 94.66 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.3158, allocations: 33.7 kB / 380.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3159, allocations: 334.8 kB / 381.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3161, allocations: 95.95 kB / 381.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3163, allocations: 186.7 kB / 381.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.3167, allocations: 307 kB / 381.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3167, allocations: 0 / 381.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006389/0.3173, allocations: 398.7 kB / 382.2 MB, free: 11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3173, allocations: 4.375 kB / 382.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3174, allocations: 8 kB / 382.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/0.3207, allocations: 405.2 kB / 382.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.321, allocations: 67.91 kB / 382.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.3224, allocations: 1.887 MB / 384.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.3226, allocations: 23.92 kB / 384.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.3227, allocations: 16 kB / 384.6 MB, free: 8.445 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.0001757/0.3228, allocations: 158 kB / 384.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.3229, allocations: 27.62 kB / 384.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.3236, allocations: 0.4945 MB / 385.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3236, allocations: 4 kB / 385.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3236, allocations: 4 kB / 385.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006126/0.3242, allocations: 0.7121 MB / 386 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3255, allocations: 0.945 MB / 387 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3255, allocations: 4 kB / 387 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.3257, allocations: 39.92 kB / 387 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.3275, allocations: 332.3 kB / 387.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3275, allocations: 15.98 kB / 387.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004415/0.3279, allocations: 0.6382 MB / 388 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.328, allocations: 8.047 kB / 388 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.3288, allocations: 0.7126 MB / 388.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.3289, allocations: 108.7 kB / 388.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.329, allocations: 11.94 kB / 388.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3292, allocations: 20.05 kB / 388.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3292, allocations: 15.92 kB / 388.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3292, allocations: 15.98 kB / 388.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.3294, allocations: 178 kB / 389 MB, free: 3.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3294, allocations: 0 / 389 MB, free: 3.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006205/0.33, allocations: 191.9 kB / 389.2 MB, free: 3.582 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.0005176/0.3306, allocations: 267.1 kB / 389.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.3313, allocations: 442.4 kB / 389.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3313, allocations: 0.75 kB / 389.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.3318, allocations: 231.8 kB / 390.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3328, allocations: 164.3 kB / 390.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.334, allocations: 0.9876 MB / 391.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3343, allocations: 0.7798 MB / 392.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.3345, allocations: 54.94 kB / 392.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3346, allocations: 27.44 kB / 392.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3346, allocations: 3.938 kB / 392.2 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of Templates: time 0.01447/0.3491, allocations: 9.549 MB / 401.7 MB, free: 7.016 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)