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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.007713/0.007713, allocations: 167.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.184/1.184, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001586/0.001586, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 38.77 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.389/1.633, allocations: 0.6308 GB / 0.9364 GB, free: 38.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.634, allocations: 79.95 kB / 0.9365 GB, free: 38.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237/2.871, allocations: 473.6 MB / 1.399 GB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/2.871, allocations: 0 / 1.399 GB, free: 14.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.849e-05/2.871, allocations: 8 kB / 1.399 GB, free: 14.01 MB / 362.7 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.001742/2.873, allocations: 0.7363 MB / 1.4 GB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/2.873, allocations: 12.03 kB / 1.4 GB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/2.873, allocations: 59.59 kB / 1.4 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/2.874, allocations: 284.7 kB / 1.4 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/2.874, allocations: 23.94 kB / 1.4 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/2.874, allocations: 24 kB / 1.4 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/2.874, allocations: 338.5 kB / 1.4 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/2.874, allocations: 0 / 1.4 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/2.874, allocations: 12 kB / 1.4 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/2.874, allocations: 8 kB / 1.4 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/2.875, allocations: 218 kB / 1.401 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/2.884, allocations: 5.464 MB / 1.406 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/2.884, allocations: 179.2 kB / 1.406 GB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00746/2.892, allocations: 3.456 MB / 1.41 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/2.892, allocations: 38.69 kB / 1.41 GB, free: 2.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.737e-06/2.892, allocations: 0 / 1.41 GB, free: 2.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00586/2.898, allocations: 1.375 MB / 1.411 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/2.898, allocations: 55.34 kB / 1.411 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/2.898, allocations: 237.7 kB / 1.411 GB, free: 0.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/2.898, allocations: 29.7 kB / 1.411 GB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/2.898, allocations: 188.1 kB / 1.411 GB, free: 284 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/2.898, allocations: 90.73 kB / 1.411 GB, free: 192 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/2.898, allocations: 4 kB / 1.411 GB, free: 188 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2006/3.099, allocations: 338.8 kB / 1.412 GB, free: 81.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/3.099, allocations: 87.64 kB / 1.412 GB, free: 81.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/3.1, allocations: 182.9 kB / 1.412 GB, free: 81.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/3.1, allocations: 119.2 kB / 1.412 GB, free: 81.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/3.1, allocations: 1.188 kB / 1.412 GB, free: 81.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007087/3.101, allocations: 400.1 kB / 1.413 GB, free: 81.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/3.101, allocations: 7.156 kB / 1.413 GB, free: 81.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/3.101, allocations: 4.641 kB / 1.413 GB, free: 81.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004315/3.105, allocations: 454.7 kB / 1.413 GB, free: 81.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/3.105, allocations: 65.36 kB / 1.413 GB, free: 81.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/3.106, allocations: 1.886 MB / 1.415 GB, free: 79.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/3.107, allocations: 18.8 kB / 1.415 GB, free: 79.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/3.107, allocations: 20.59 kB / 1.415 GB, free: 79.43 MB / 362.7 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.0001862/3.107, allocations: 156.8 kB / 1.415 GB, free: 79.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/3.107, allocations: 30.05 kB / 1.415 GB, free: 79.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/3.108, allocations: 0.4884 MB / 1.416 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/3.108, allocations: 3.969 kB / 1.416 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/3.108, allocations: 2.25 kB / 1.416 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005174/3.108, allocations: 0.7184 MB / 1.416 GB, free: 78.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/3.109, allocations: 0.9387 MB / 1.417 GB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/3.109, allocations: 2.875 kB / 1.417 GB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/3.109, allocations: 49.97 kB / 1.417 GB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/3.111, allocations: 309.4 kB / 1.418 GB, free: 78.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/3.111, allocations: 7.219 kB / 1.418 GB, free: 78.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/3.111, allocations: 0.6397 MB / 1.418 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/3.111, allocations: 2.688 kB / 1.418 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/3.112, allocations: 0.7341 MB / 1.419 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/3.112, allocations: 108.1 kB / 1.419 GB, free: 77.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/3.112, allocations: 3 kB / 1.419 GB, free: 77.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/3.113, allocations: 17.22 kB / 1.419 GB, free: 77.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/3.113, allocations: 15.3 kB / 1.419 GB, free: 77.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/3.113, allocations: 13.47 kB / 1.419 GB, free: 77.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000155/3.113, allocations: 181.2 kB / 1.419 GB, free: 77.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/3.113, allocations: 5.766 kB / 1.419 GB, free: 77.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009527/3.114, allocations: 213.2 kB / 1.419 GB, free: 77.55 MB / 362.7 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.001086/3.115, allocations: 474.6 kB / 1.42 GB, free: 77.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007265/3.116, allocations: 450.2 kB / 1.42 GB, free: 77.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/3.116, allocations: 0 / 1.42 GB, free: 77.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/3.116, allocations: 237.6 kB / 1.421 GB, free: 77.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/3.117, allocations: 161.8 kB / 1.421 GB, free: 77.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/3.118, allocations: 0.9489 MB / 1.422 GB, free: 76.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/3.118, allocations: 0.7895 MB / 1.422 GB, free: 76.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002115/3.118, allocations: 51.16 kB / 1.422 GB, free: 76.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/3.118, allocations: 28.69 kB / 1.422 GB, free: 76.25 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/3.118, allocations: 0 / 1.422 GB, free: 76.25 MB / 362.7 MB Notification: Performance of Templates: time 0.01789/3.136, allocations: 10.82 MB / 1.433 GB, free: 75.91 MB / 362.7 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)