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.001242/0.001242, allocations: 112.7 kB / 17.06 MB, free: 6.023 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.001118/0.001119, allocations: 195.9 kB / 18 MB, free: 5.102 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.334/1.334, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001273/0.001273, allocations: 52.3 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07788, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1801/0.258, allocations: 27.04 MB / 401.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.263, allocations: 4.159 MB / 405.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.2633, allocations: 4.594 kB / 405.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.2641, allocations: 214.7 kB / 405.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.2648, allocations: 335.4 kB / 406.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.2694, allocations: 1.477 MB / 407.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.2706, allocations: 0.8801 MB / 408.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2708, allocations: 103.3 kB / 408.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.2768, allocations: 4.048 MB / 412.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.2772, allocations: 276 kB / 413 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.2773, allocations: 31.03 kB / 413 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.2791, allocations: 0.728 MB / 413.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.2793, allocations: 93.55 kB / 413.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.2796, allocations: 193.8 kB / 414.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.281, allocations: 0.8521 MB / 414.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.281, allocations: 0 / 414.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.281, allocations: 0 / 414.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.281, allocations: 1.344 kB / 414.9 MB, free: 4.547 MB / 334.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.001092/0.2821, allocations: 0.6441 MB / 415.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2822, allocations: 9.281 kB / 415.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.2826, allocations: 61.5 kB / 415.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.2831, allocations: 290.1 kB / 415.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.2832, allocations: 19.22 kB / 415.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.2832, allocations: 31.56 kB / 416 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.2838, allocations: 349.6 kB / 416.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2838, allocations: 1 kB / 416.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.2839, allocations: 12.75 kB / 416.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2839, allocations: 7.094 kB / 416.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.2842, allocations: 212 kB / 416.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.2972, allocations: 5.908 MB / 422.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.2976, allocations: 187.2 kB / 422.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2977, allocations: 84.84 kB / 422.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3081, allocations: 3.891 MB / 426.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3081, allocations: 34.56 kB / 426.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.3082, allocations: 0 / 426.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006226/0.3144, allocations: 1.409 MB / 428 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3145, allocations: 55.39 kB / 428.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.3147, allocations: 254.6 kB / 428.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3148, allocations: 37.64 kB / 428.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3149, allocations: 196 kB / 428.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.315, allocations: 90.66 kB / 428.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.3151, allocations: 61.7 kB / 428.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3152, allocations: 334.8 kB / 429 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3153, allocations: 99.73 kB / 429.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3156, allocations: 186.9 kB / 429.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.316, allocations: 299 kB / 429.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.316, allocations: 4 kB / 429.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006727/0.3166, allocations: 406.5 kB / 430 MB, free: 6.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3167, allocations: 8 kB / 430 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3167, allocations: 384 / 430 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004067/0.3208, allocations: 0.9339 MB / 431 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.3211, allocations: 67.91 kB / 431 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.3226, allocations: 1.981 MB / 433 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3229, allocations: 12 kB / 433 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3229, allocations: 12 kB / 433 MB, free: 3.766 MB / 350.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.0001759/0.3231, allocations: 155.2 kB / 433.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.3231, allocations: 31.56 kB / 433.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.3238, allocations: 498.6 kB / 433.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3239, allocations: 7.938 kB / 433.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3239, allocations: 0 / 433.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006281/0.3245, allocations: 0.713 MB / 434.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3257, allocations: 0.9496 MB / 435.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3258, allocations: 0 / 435.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.326, allocations: 47.97 kB / 435.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.3277, allocations: 321.5 kB / 435.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.3277, allocations: 4 kB / 435.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004524/0.3281, allocations: 0.6499 MB / 436.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3282, allocations: 0 / 436.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.3291, allocations: 0.7221 MB / 437.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3292, allocations: 108.6 kB / 437.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.3292, allocations: 7.984 kB / 437.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3294, allocations: 8 kB / 437.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.3295, allocations: 15.98 kB / 437.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.3295, allocations: 14.55 kB / 437.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.3297, allocations: 186 kB / 437.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3297, allocations: 0 / 437.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000742/0.3304, allocations: 183.9 kB / 437.6 MB, free: 14.94 MB / 366.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.000559/0.331, allocations: 271 kB / 437.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.3318, allocations: 455.2 kB / 438.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3318, allocations: 4 kB / 438.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.3323, allocations: 231.8 kB / 438.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.3332, allocations: 179.4 kB / 438.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3345, allocations: 0.7888 MB / 439.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3348, allocations: 0.776 MB / 440.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.335, allocations: 46.94 kB / 440.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.3351, allocations: 39.42 kB / 440.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3351, allocations: 0 / 440.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Templates: time 0.01552/0.3506, allocations: 9.989 MB / 450.4 MB, free: 2.098 MB / 366.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)