Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.677/1.677, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 97.59 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.081e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1546, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.27/18.43, allocations: 6.123 GB / 6.509 GB, free: 97.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/18.43, allocations: 80.61 kB / 6.509 GB, free: 97.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.713/21.14, allocations: 0.6371 GB / 7.146 GB, free: 27.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.874e-06/21.14, allocations: 0 / 7.146 GB, free: 27.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.836e-05/21.14, allocations: 13.75 kB / 7.146 GB, free: 27.92 MB / 474.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.01249/21.15, allocations: 2.341 MB / 7.149 GB, free: 26.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/21.15, allocations: 11.19 kB / 7.149 GB, free: 26.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/21.15, allocations: 79.67 kB / 7.149 GB, free: 26.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/21.15, allocations: 442.8 kB / 7.149 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/21.15, allocations: 17.34 kB / 7.149 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/21.15, allocations: 37.03 kB / 7.149 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/21.15, allocations: 0.9148 MB / 7.15 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/21.16, allocations: 0.6449 MB / 7.151 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/21.16, allocations: 7.844 kB / 7.151 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/21.16, allocations: 0 / 7.151 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/21.16, allocations: 17.66 kB / 7.151 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/21.17, allocations: 12.36 MB / 7.163 GB, free: 31.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/21.17, allocations: 0.7034 MB / 7.163 GB, free: 31.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/21.17, allocations: 367.5 kB / 7.164 GB, free: 31.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03669/21.21, allocations: 30.74 MB / 7.194 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/21.21, allocations: 44.41 kB / 7.194 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 3.767e-06/21.21, allocations: 0 / 7.194 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.007099/21.22, allocations: 2.463 MB / 7.196 GB, free: 32.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/21.22, allocations: 70.36 kB / 7.196 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/21.22, allocations: 253.1 kB / 7.197 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/21.22, allocations: 25.7 kB / 7.197 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/21.22, allocations: 246.1 kB / 7.197 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/21.22, allocations: 293.9 kB / 7.197 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/21.22, allocations: 0 / 7.197 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000165/21.22, allocations: 362.8 kB / 7.197 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/21.22, allocations: 335.3 kB / 7.198 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/21.22, allocations: 443.4 kB / 7.198 GB, free: 31.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/21.22, allocations: 0.517 MB / 7.199 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/21.22, allocations: 0 / 7.199 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002408/21.22, allocations: 1.127 MB / 7.2 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/21.22, allocations: 6.938 kB / 7.2 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/21.22, allocations: 3.156 kB / 7.2 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/21.22, allocations: 123.5 kB / 7.2 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/21.22, allocations: 189.9 kB / 7.2 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/21.23, allocations: 3.865 MB / 7.204 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/21.23, allocations: 43.8 kB / 7.204 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/21.23, allocations: 52.17 kB / 7.204 GB, free: 27.75 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0002935/21.23, allocations: 138.3 kB / 7.204 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/21.23, allocations: 55.34 kB / 7.204 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/21.23, allocations: 1.333 MB / 7.205 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/21.23, allocations: 10.73 kB / 7.205 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/21.23, allocations: 0 / 7.205 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/21.23, allocations: 1.366 MB / 7.207 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/21.24, allocations: 1.934 MB / 7.209 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/21.24, allocations: 1.203 kB / 7.209 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/21.24, allocations: 168.6 kB / 7.209 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/21.24, allocations: 134.6 kB / 7.209 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/21.24, allocations: 21.44 kB / 7.209 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/21.24, allocations: 1.35 MB / 7.21 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/21.24, allocations: 1.812 kB / 7.21 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/21.24, allocations: 1.461 MB / 7.212 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/21.24, allocations: 134.4 kB / 7.212 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/21.24, allocations: 5.406 kB / 7.212 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/21.24, allocations: 40.36 kB / 7.212 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/21.24, allocations: 58.66 kB / 7.212 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/21.24, allocations: 54.47 kB / 7.212 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000225/21.24, allocations: 224.5 kB / 7.212 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/21.24, allocations: 0 / 7.212 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00956/21.25, allocations: 2.235 MB / 7.214 GB, free: 24.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * 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.01606/21.27, allocations: 3.331 MB / 7.218 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001996/21.27, allocations: 1.087 MB / 7.219 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/21.27, allocations: 1.375 kB / 7.219 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/21.27, allocations: 487.4 kB / 7.219 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/21.27, allocations: 290.5 kB / 7.219 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/21.27, allocations: 1.328 MB / 7.221 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/21.27, allocations: 0.9282 MB / 7.222 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008781/21.28, allocations: 193 kB / 7.222 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/21.28, allocations: 76.98 kB / 7.222 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/21.28, allocations: 1.125 kB / 7.222 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.08906/21.36, allocations: 61.44 MB / 7.282 GB, free: 19.06 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)