Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001762/0.001762, allocations: 170.5 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.6/1.6, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001655/0.001655, allocations: 103.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.122e-05, allocations: 8 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09219, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.12/18.21, allocations: 6.523 GB / 6.824 GB, free: 94.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/18.21, allocations: 72.78 kB / 6.824 GB, free: 94.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095/21.31, allocations: 0.8372 GB / 7.661 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/21.31, allocations: 0 / 7.661 GB, free: 5.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/21.31, allocations: 8 kB / 7.661 GB, free: 5.254 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01387/21.32, allocations: 2.883 MB / 7.664 GB, free: 2.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/21.32, allocations: 12.03 kB / 7.664 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/21.32, allocations: 67.36 kB / 7.664 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/21.32, allocations: 358.2 kB / 7.664 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/21.32, allocations: 33 kB / 7.664 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/21.32, allocations: 44 kB / 7.664 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/21.32, allocations: 0.5101 MB / 7.665 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/21.32, allocations: 0 / 7.665 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/21.32, allocations: 16 kB / 7.665 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/21.32, allocations: 15.98 kB / 7.665 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/21.33, allocations: 0.6208 MB / 7.666 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3255/21.65, allocations: 11.69 MB / 7.677 GB, free: 16.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/21.65, allocations: 0.637 MB / 7.678 GB, free: 16.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/21.65, allocations: 255.3 kB / 7.678 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02348/21.68, allocations: 20.12 MB / 7.698 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/21.68, allocations: 46.47 kB / 7.698 GB, free: 12.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.765e-06/21.68, allocations: 0 / 7.698 GB, free: 12.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.006264/21.68, allocations: 1.739 MB / 7.699 GB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/21.68, allocations: 61.36 kB / 7.699 GB, free: 12.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/21.68, allocations: 287.5 kB / 7.7 GB, free: 11.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/21.68, allocations: 39.52 kB / 7.7 GB, free: 11.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/21.68, allocations: 199.5 kB / 7.7 GB, free: 11.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/21.68, allocations: 188.2 kB / 7.7 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/21.68, allocations: 15.97 kB / 7.7 GB, free: 11.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/21.68, allocations: 347.1 kB / 7.7 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/21.68, allocations: 206.9 kB / 7.701 GB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/21.69, allocations: 301 kB / 7.701 GB, free: 11.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/21.69, allocations: 256.1 kB / 7.701 GB, free: 11.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/21.69, allocations: 0.9688 kB / 7.701 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002057/21.69, allocations: 0.6901 MB / 7.702 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/21.69, allocations: 10.45 kB / 7.702 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/21.69, allocations: 6.188 kB / 7.702 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/21.69, allocations: 106.9 kB / 7.702 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/21.69, allocations: 124.3 kB / 7.702 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/21.69, allocations: 3.277 MB / 7.705 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/21.69, allocations: 42.23 kB / 7.705 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/21.69, allocations: 33.58 kB / 7.705 GB, free: 24.08 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0002625/21.69, allocations: 134.6 kB / 7.705 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/21.7, allocations: 40.44 kB / 7.705 GB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/21.7, allocations: 0.7161 MB / 7.706 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/21.7, allocations: 5.469 kB / 7.706 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/21.7, allocations: 1.156 kB / 7.706 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/21.7, allocations: 0.7747 MB / 7.707 GB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/21.7, allocations: 1.406 MB / 7.708 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/21.7, allocations: 0 / 7.708 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/21.7, allocations: 120.3 kB / 7.708 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008791/21.7, allocations: 150.2 kB / 7.709 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/21.7, allocations: 23.36 kB / 7.709 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004816/21.7, allocations: 0.6544 MB / 7.709 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/21.7, allocations: 0 / 7.709 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/21.7, allocations: 0.9939 MB / 7.71 GB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/21.7, allocations: 129.4 kB / 7.71 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/21.7, allocations: 15.5 kB / 7.71 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/21.71, allocations: 38.89 kB / 7.71 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/21.71, allocations: 39.44 kB / 7.71 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/21.71, allocations: 33.61 kB / 7.71 GB, free: 22.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003065/21.71, allocations: 235.4 kB / 7.711 GB, free: 22.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/21.71, allocations: 0 / 7.711 GB, free: 22.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01145/21.72, allocations: 1.962 MB / 7.713 GB, free: 22.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01887/21.74, allocations: 3.113 MB / 7.716 GB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/21.74, allocations: 0.7898 MB / 7.716 GB, free: 21.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/21.74, allocations: 2.688 kB / 7.716 GB, free: 21.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/21.74, allocations: 307.7 kB / 7.717 GB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/21.74, allocations: 277.2 kB / 7.717 GB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/21.74, allocations: 0.892 MB / 7.718 GB, free: 21.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/21.74, allocations: 0.8529 MB / 7.719 GB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005375/21.74, allocations: 136.4 kB / 7.719 GB, free: 20.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/21.74, allocations: 59.69 kB / 7.719 GB, free: 20.64 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/21.74, allocations: 0.9375 kB / 7.719 GB, free: 20.64 MB / 426.7 MB Notification: Performance of Templates: time 0.08501/21.83, allocations: 68.38 MB / 7.786 GB, free: 16.01 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)