Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0007877/0.0007879, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0008456/0.0008456, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0006764/0.0006765, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02335/0.2513, allocations: 24.93 MB / 351.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.2557, allocations: 3.886 MB / 355.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.2559, allocations: 0 / 355.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.2565, allocations: 163.1 kB / 355.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.2572, allocations: 318.3 kB / 355.8 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.2605, allocations: 1.144 MB / 356.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.2618, allocations: 1.109 MB / 358 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.262, allocations: 76.66 kB / 358.1 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.2724, allocations: 7.48 MB / 365.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.2729, allocations: 270.9 kB / 365.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.273, allocations: 16 kB / 365.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.2747, allocations: 0.6673 MB / 366.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2748, allocations: 79.7 kB / 366.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.275, allocations: 97.58 kB / 366.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.276, allocations: 0.6118 MB / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.276, allocations: 0 / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.276, allocations: 0 / 367.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.276, allocations: 0 / 367.3 MB, free: 10.56 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.000946/0.277, allocations: 0.5885 MB / 367.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.277, allocations: 8.031 kB / 367.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005021/0.2775, allocations: 51.69 kB / 367.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2779, allocations: 274.5 kB / 368.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.278, allocations: 20.56 kB / 368.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.278, allocations: 28 kB / 368.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.2786, allocations: 342.4 kB / 368.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2786, allocations: 7.953 kB / 368.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2787, allocations: 12 kB / 368.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2787, allocations: 4 kB / 368.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.2791, allocations: 214 kB / 368.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.2913, allocations: 5.916 MB / 374.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.2917, allocations: 171.2 kB / 374.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2919, allocations: 89.2 kB / 375 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009681/0.3016, allocations: 3.873 MB / 378.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.3017, allocations: 46.69 kB / 378.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/0.3017, allocations: 0 / 378.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006119/0.3078, allocations: 1.42 MB / 380.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3079, allocations: 51.41 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3082, allocations: 258.5 kB / 380.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.3083, allocations: 29.7 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3084, allocations: 184.1 kB / 380.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.3085, allocations: 98.64 kB / 380.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.3085, allocations: 8 kB / 380.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3086, allocations: 334.8 kB / 381.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3088, allocations: 91.95 kB / 381.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.309, allocations: 194.6 kB / 381.6 MB, free: 11.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3092, allocations: 119.9 kB / 381.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3092, allocations: 3.953 kB / 381.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006933/0.3099, allocations: 391.1 kB / 382.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.31, allocations: 8.062 kB / 382.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.31, allocations: 4 kB / 382.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/0.313, allocations: 401.3 kB / 382.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.3133, allocations: 75.84 kB / 382.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3148, allocations: 1.867 MB / 384.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.315, allocations: 31.95 kB / 384.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.3151, allocations: 12 kB / 384.4 MB, free: 8.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.3153, allocations: 162 kB / 384.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.3153, allocations: 27.72 kB / 384.6 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.3161, allocations: 494.6 kB / 385.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3161, allocations: 15.95 kB / 385.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3161, allocations: 7.953 kB / 385.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007015/0.3168, allocations: 0.7196 MB / 385.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3181, allocations: 0.9453 MB / 386.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3181, allocations: 3.953 kB / 386.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.3183, allocations: 47.92 kB / 386.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.32, allocations: 332.2 kB / 387.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.32, allocations: 7.984 kB / 387.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/0.3205, allocations: 0.6305 MB / 387.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3205, allocations: 8.094 kB / 387.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.3214, allocations: 0.7279 MB / 388.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.3215, allocations: 104.8 kB / 388.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3216, allocations: 4 kB / 388.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3218, allocations: 16.06 kB / 388.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3218, allocations: 19.97 kB / 388.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3219, allocations: 8 kB / 388.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3221, allocations: 186 kB / 388.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3221, allocations: 0 / 388.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.3227, allocations: 191.9 kB / 389.1 MB, free: 3.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005908/0.3233, allocations: 274.9 kB / 389.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.3241, allocations: 438.4 kB / 389.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3241, allocations: 0.75 kB / 389.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004943/0.3246, allocations: 239.7 kB / 390 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.3256, allocations: 168.4 kB / 390.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3268, allocations: 0.9486 MB / 391.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3272, allocations: 0.7798 MB / 391.9 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.3274, allocations: 54.92 kB / 391.9 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.3275, allocations: 27.44 kB / 392 MB, free: 272 kB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3275, allocations: 0 / 392 MB, free: 272 kB / 318.1 MB Notification: Performance of Templates: time 0.01597/0.3435, allocations: 9.362 MB / 401.3 MB, free: 6.898 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)