Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005681/0.005681, allocations: 166.3 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.226/1.226, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001807/0.001808, allocations: 107.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.591, allocations: 0.6308 GB / 0.9363 GB, free: 38.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.591, allocations: 78.83 kB / 0.9364 GB, free: 38.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4519/2.043, allocations: 150.4 MB / 1.083 GB, free: 39.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/2.043, allocations: 0 / 1.083 GB, free: 39.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/2.043, allocations: 8 kB / 1.083 GB, free: 39.43 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001263/2.044, allocations: 0.7031 MB / 1.084 GB, free: 38.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/2.044, allocations: 8.031 kB / 1.084 GB, free: 38.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/2.045, allocations: 75.41 kB / 1.084 GB, free: 38.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/2.045, allocations: 334.3 kB / 1.084 GB, free: 38.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/2.045, allocations: 29 kB / 1.084 GB, free: 38.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/2.045, allocations: 39.98 kB / 1.084 GB, free: 38.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/2.046, allocations: 464.2 kB / 1.085 GB, free: 37.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/2.046, allocations: 4 kB / 1.085 GB, free: 37.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/2.046, allocations: 23.98 kB / 1.085 GB, free: 37.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/2.046, allocations: 8 kB / 1.085 GB, free: 37.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/2.046, allocations: 307.7 kB / 1.085 GB, free: 37.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009877/2.056, allocations: 6.29 MB / 1.091 GB, free: 30.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/2.057, allocations: 284.4 kB / 1.092 GB, free: 30.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/2.064, allocations: 3.448 MB / 1.095 GB, free: 26.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/2.064, allocations: 38.56 kB / 1.095 GB, free: 26.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.186e-06/2.064, allocations: 0 / 1.095 GB, free: 26.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.009857/2.074, allocations: 2.393 MB / 1.097 GB, free: 23.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/2.074, allocations: 55.41 kB / 1.097 GB, free: 23.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/2.074, allocations: 266.5 kB / 1.098 GB, free: 23.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/2.074, allocations: 37.69 kB / 1.098 GB, free: 23.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/2.075, allocations: 231.9 kB / 1.098 GB, free: 23.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/2.075, allocations: 157.8 kB / 1.098 GB, free: 23.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/2.075, allocations: 12 kB / 1.098 GB, free: 23.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/2.075, allocations: 346.8 kB / 1.098 GB, free: 22.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/2.075, allocations: 145.1 kB / 1.099 GB, free: 22.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/2.075, allocations: 271.7 kB / 1.099 GB, free: 22.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/2.075, allocations: 204.6 kB / 1.099 GB, free: 22.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.075, allocations: 4 kB / 1.099 GB, free: 22.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008822/2.076, allocations: 0.5877 MB / 1.1 GB, free: 21.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/2.076, allocations: 8 kB / 1.1 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/2.076, allocations: 4 kB / 1.1 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007906/2.084, allocations: 0.8653 MB / 1.1 GB, free: 20.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/2.085, allocations: 111.8 kB / 1.101 GB, free: 20.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/2.086, allocations: 2.463 MB / 1.103 GB, free: 17.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/2.087, allocations: 35.83 kB / 1.103 GB, free: 17.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/2.087, allocations: 24 kB / 1.103 GB, free: 17.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002553/2.087, allocations: 185.7 kB / 1.103 GB, free: 17.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/2.087, allocations: 39.53 kB / 1.103 GB, free: 17.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/2.088, allocations: 0.8514 MB / 1.104 GB, free: 16.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/2.088, allocations: 15.98 kB / 1.104 GB, free: 16.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/2.088, allocations: 0 / 1.104 GB, free: 16.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008011/2.089, allocations: 0.9573 MB / 1.105 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/2.091, allocations: 1.492 MB / 1.106 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/2.091, allocations: 0 / 1.106 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/2.091, allocations: 79.89 kB / 1.107 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/2.094, allocations: 0.5907 MB / 1.107 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/2.094, allocations: 15.98 kB / 1.107 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006678/2.095, allocations: 1.28 MB / 1.108 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.095, allocations: 0 / 1.108 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/2.096, allocations: 1.233 MB / 1.11 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/2.096, allocations: 128.5 kB / 1.11 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/2.096, allocations: 12 kB / 1.11 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/2.097, allocations: 19.98 kB / 1.11 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/2.097, allocations: 31.92 kB / 1.11 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/2.097, allocations: 19.98 kB / 1.11 GB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000196/2.097, allocations: 205.9 kB / 1.11 GB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.097, allocations: 0 / 1.11 GB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001111/2.098, allocations: 243.9 kB / 1.11 GB, free: 10.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/2.1, allocations: 445.6 kB / 1.111 GB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/2.101, allocations: 0.7018 MB / 1.111 GB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.101, allocations: 0 / 1.111 GB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009698/2.102, allocations: 448.5 kB / 1.112 GB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/2.103, allocations: 222 kB / 1.112 GB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/2.105, allocations: 1.474 MB / 1.113 GB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/2.106, allocations: 0.8483 MB / 1.114 GB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004321/2.106, allocations: 68.34 kB / 1.114 GB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/2.106, allocations: 39.42 kB / 1.114 GB, free: 5.859 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/2.106, allocations: 0 / 1.114 GB, free: 5.859 MB / 362.7 MB Notification: Performance of Templates: time 0.2068/2.313, allocations: 12.74 MB / 1.127 GB, free: 76.18 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)