Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008611/0.008611, allocations: 164.5 kB / 15.11 MB, free: 5.973 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.556/1.556, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001966/0.001966, allocations: 111.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003315, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.68/15.92, allocations: 6.524 GB / 6.829 GB, free: 82.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/15.92, allocations: 80.55 kB / 6.829 GB, free: 82.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.447/18.36, allocations: 0.6645 GB / 7.494 GB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/18.36, allocations: 2.469 kB / 7.494 GB, free: 7.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.891e-05/18.36, allocations: 12 kB / 7.494 GB, free: 7.641 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01247/18.38, allocations: 2.436 MB / 7.496 GB, free: 5.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/18.38, allocations: 14.69 kB / 7.496 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/18.38, allocations: 79.23 kB / 7.496 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/18.38, allocations: 448.9 kB / 7.497 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/18.38, allocations: 49.27 kB / 7.497 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/18.38, allocations: 60 kB / 7.497 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/18.38, allocations: 0.7131 MB / 7.497 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/18.38, allocations: 3.438 kB / 7.497 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/18.38, allocations: 28 kB / 7.497 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/18.38, allocations: 12 kB / 7.497 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/18.38, allocations: 0.8872 MB / 7.498 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.293/18.68, allocations: 12.39 MB / 7.51 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/18.68, allocations: 0.8881 MB / 7.511 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03814/18.72, allocations: 30.13 MB / 7.541 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/18.72, allocations: 48.42 kB / 7.541 GB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/18.72, allocations: 0 / 7.541 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.01099/18.73, allocations: 3.375 MB / 7.544 GB, free: 14.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/18.73, allocations: 63.06 kB / 7.544 GB, free: 14.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/18.73, allocations: 318.8 kB / 7.544 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/18.73, allocations: 41.27 kB / 7.544 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/18.73, allocations: 241.8 kB / 7.545 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/18.73, allocations: 313.8 kB / 7.545 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/18.73, allocations: 11.44 kB / 7.545 GB, free: 13.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/18.73, allocations: 370 kB / 7.545 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/18.73, allocations: 329 kB / 7.546 GB, free: 13.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/18.73, allocations: 453.5 kB / 7.546 GB, free: 13.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/18.73, allocations: 409.4 kB / 7.546 GB, free: 13.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/18.73, allocations: 0 / 7.546 GB, free: 13.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002316/18.73, allocations: 1.032 MB / 7.547 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/18.73, allocations: 9.406 kB / 7.548 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/18.73, allocations: 4.688 kB / 7.548 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008197/18.73, allocations: 175.5 kB / 7.548 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/18.73, allocations: 192.1 kB / 7.548 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/18.74, allocations: 3.927 MB / 7.552 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/18.74, allocations: 63.12 kB / 7.552 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/18.74, allocations: 46.59 kB / 7.552 GB, free: 25.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008604/18.74, allocations: 228.4 kB / 7.552 GB, free: 25.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006475/18.74, allocations: 63.06 kB / 7.552 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/18.74, allocations: 1.114 MB / 7.553 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/18.74, allocations: 9.594 kB / 7.553 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.49e-05/18.74, allocations: 1.062 kB / 7.553 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/18.75, allocations: 1.345 MB / 7.554 GB, free: 24.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/18.75, allocations: 2.069 MB / 7.557 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/18.75, allocations: 3.5 kB / 7.557 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/18.75, allocations: 184.8 kB / 7.557 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/18.75, allocations: 300.2 kB / 7.557 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.56e-05/18.75, allocations: 33.47 kB / 7.557 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009359/18.76, allocations: 1.299 MB / 7.558 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/18.76, allocations: 2.891 kB / 7.558 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/18.76, allocations: 1.52 MB / 7.56 GB, free: 22.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/18.76, allocations: 142.2 kB / 7.56 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/18.76, allocations: 21.59 kB / 7.56 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/18.76, allocations: 52.25 kB / 7.56 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/18.76, allocations: 61.75 kB / 7.56 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/18.76, allocations: 53.56 kB / 7.56 GB, free: 22.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003912/18.76, allocations: 257.5 kB / 7.56 GB, free: 22.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.122e-06/18.76, allocations: 0.6562 kB / 7.56 GB, free: 22.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01105/18.77, allocations: 2.295 MB / 7.563 GB, free: 22.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01618/18.79, allocations: 3.397 MB / 7.566 GB, free: 22.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002485/18.79, allocations: 1.151 MB / 7.567 GB, free: 21.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/18.79, allocations: 2.531 kB / 7.567 GB, free: 21.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008958/18.79, allocations: 0.51 MB / 7.568 GB, free: 21.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/18.79, allocations: 383.1 kB / 7.568 GB, free: 21.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/18.8, allocations: 2.081 MB / 7.57 GB, free: 21.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/18.8, allocations: 0.942 MB / 7.571 GB, free: 20.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008803/18.8, allocations: 192 kB / 7.571 GB, free: 20.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/18.8, allocations: 77.75 kB / 7.571 GB, free: 20.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/18.8, allocations: 0 / 7.571 GB, free: 20.4 MB / 442.7 MB Notification: Performance of Templates: time 0.09105/18.89, allocations: 76.92 MB / 7.646 GB, free: 12.18 MB / 442.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)