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.001183/0.001183, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.483/1.483, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001671/0.001671, allocations: 114.9 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.746e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.08989, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.855/1.945, allocations: 0.6307 GB / 0.9311 GB, free: 100.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.946, allocations: 74.64 kB / 0.9312 GB, free: 100 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5233/2.469, allocations: 149.5 MB / 1.077 GB, free: 80.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/2.469, allocations: 0 / 1.077 GB, free: 80.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/2.469, allocations: 14.03 kB / 1.077 GB, free: 80.64 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.001245/2.47, allocations: 0.6611 MB / 1.078 GB, free: 80.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/2.47, allocations: 6.5 kB / 1.078 GB, free: 80.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/2.471, allocations: 82.05 kB / 1.078 GB, free: 80.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/2.471, allocations: 332 kB / 1.078 GB, free: 79.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/2.471, allocations: 35.52 kB / 1.078 GB, free: 79.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/2.471, allocations: 41.38 kB / 1.078 GB, free: 79.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/2.472, allocations: 453.1 kB / 1.079 GB, free: 79.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/2.472, allocations: 10.84 kB / 1.079 GB, free: 79.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/2.472, allocations: 15.19 kB / 1.079 GB, free: 79.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/2.472, allocations: 11.62 kB / 1.079 GB, free: 79.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/2.473, allocations: 296.7 kB / 1.079 GB, free: 79.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/2.483, allocations: 6.352 MB / 1.085 GB, free: 75.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/2.484, allocations: 267 kB / 1.086 GB, free: 75.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/2.484, allocations: 146.9 kB / 1.086 GB, free: 74.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007477/2.491, allocations: 3.489 MB / 1.089 GB, free: 73.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/2.491, allocations: 41.69 kB / 1.089 GB, free: 73.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.386e-06/2.491, allocations: 0 / 1.089 GB, free: 73.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.00979/2.501, allocations: 2.271 MB / 1.091 GB, free: 72.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/2.501, allocations: 58.84 kB / 1.091 GB, free: 72.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/2.501, allocations: 261.8 kB / 1.092 GB, free: 72.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/2.502, allocations: 33.58 kB / 1.092 GB, free: 72.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/2.502, allocations: 229.7 kB / 1.092 GB, free: 71.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/2.502, allocations: 163.6 kB / 1.092 GB, free: 71.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/2.502, allocations: 11.91 kB / 1.092 GB, free: 71.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/2.502, allocations: 353.7 kB / 1.092 GB, free: 71.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/2.502, allocations: 144 kB / 1.093 GB, free: 71.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/2.502, allocations: 270.7 kB / 1.093 GB, free: 71.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/2.503, allocations: 190.4 kB / 1.093 GB, free: 71.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/2.503, allocations: 0 / 1.093 GB, free: 71.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008885/2.504, allocations: 0.5777 MB / 1.094 GB, free: 70.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/2.504, allocations: 6.656 kB / 1.094 GB, free: 70.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.504, allocations: 5.812 kB / 1.094 GB, free: 70.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008026/2.512, allocations: 0.8723 MB / 1.094 GB, free: 70.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/2.512, allocations: 108.3 kB / 1.095 GB, free: 70.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/2.514, allocations: 2.454 MB / 1.097 GB, free: 68.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/2.514, allocations: 45.09 kB / 1.097 GB, free: 68.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/2.514, allocations: 23.53 kB / 1.097 GB, free: 68.29 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 () * 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.0001512/2.514, allocations: 135.9 kB / 1.097 GB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/2.514, allocations: 39.22 kB / 1.097 GB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/2.516, allocations: 0.8517 MB / 1.098 GB, free: 67.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/2.516, allocations: 11.28 kB / 1.098 GB, free: 67.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/2.516, allocations: 3.953 kB / 1.098 GB, free: 67.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007903/2.516, allocations: 0.9566 MB / 1.099 GB, free: 67.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/2.518, allocations: 1.48 MB / 1.1 GB, free: 66.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/2.518, allocations: 0 / 1.1 GB, free: 66.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/2.518, allocations: 77.53 kB / 1.1 GB, free: 66.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00281/2.521, allocations: 0.5815 MB / 1.101 GB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/2.521, allocations: 11.88 kB / 1.101 GB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/2.522, allocations: 1.281 MB / 1.102 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/2.522, allocations: 3.875 kB / 1.102 GB, free: 64.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/2.523, allocations: 1.215 MB / 1.103 GB, free: 64.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/2.523, allocations: 122.1 kB / 1.104 GB, free: 64.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/2.523, allocations: 11.66 kB / 1.104 GB, free: 64.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/2.524, allocations: 31.19 kB / 1.104 GB, free: 64.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/2.524, allocations: 28.66 kB / 1.104 GB, free: 64.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/2.524, allocations: 22.55 kB / 1.104 GB, free: 64.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001921/2.524, allocations: 204.1 kB / 1.104 GB, free: 64.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.524, allocations: 0 / 1.104 GB, free: 64.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009899/2.525, allocations: 244.6 kB / 1.104 GB, free: 64.01 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 () * 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.0009981/2.526, allocations: 445.3 kB / 1.105 GB, free: 63.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/2.527, allocations: 0.6768 MB / 1.105 GB, free: 63.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.527, allocations: 192 / 1.105 GB, free: 63.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/2.528, allocations: 441 kB / 1.106 GB, free: 63.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/2.529, allocations: 233.1 kB / 1.106 GB, free: 63.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/2.53, allocations: 0.9643 MB / 1.107 GB, free: 62.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/2.531, allocations: 0.8464 MB / 1.108 GB, free: 62.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003033/2.531, allocations: 73.09 kB / 1.108 GB, free: 62.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/2.531, allocations: 35.59 kB / 1.108 GB, free: 62.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/2.531, allocations: 0 / 1.108 GB, free: 62.03 MB / 362.7 MB Notification: Performance of Templates: time 0.01853/2.549, allocations: 13.07 MB / 1.12 GB, free: 56.41 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)