Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 92.36 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.75e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.1/15.24, allocations: 6.122 GB / 6.501 GB, free: 98.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/15.24, allocations: 74.47 kB / 6.501 GB, free: 98.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.764/18, allocations: 0.6374 GB / 7.138 GB, free: 35.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.345e-06/18, allocations: 0 / 7.138 GB, free: 35.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/18, allocations: 16.78 kB / 7.138 GB, free: 35.31 MB / 458.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.01355/18.02, allocations: 2.336 MB / 7.14 GB, free: 34.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/18.02, allocations: 7.812 kB / 7.14 GB, free: 34.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/18.02, allocations: 80.23 kB / 7.141 GB, free: 34.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/18.02, allocations: 436.1 kB / 7.141 GB, free: 33.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/18.02, allocations: 22.38 kB / 7.141 GB, free: 33.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/18.02, allocations: 43.23 kB / 7.141 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001229/18.02, allocations: 0.9069 MB / 7.142 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/18.02, allocations: 0.6558 MB / 7.143 GB, free: 33.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/18.02, allocations: 3.438 kB / 7.143 GB, free: 33.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/18.02, allocations: 0 / 7.143 GB, free: 33.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/18.02, allocations: 18.98 kB / 7.143 GB, free: 33.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/18.03, allocations: 12.34 MB / 7.155 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/18.03, allocations: 0.7106 MB / 7.155 GB, free: 22.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/18.03, allocations: 374.1 kB / 7.156 GB, free: 22.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03574/18.07, allocations: 30.74 MB / 7.186 GB, free: 23.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.875e-05/18.07, allocations: 48.39 kB / 7.186 GB, free: 23.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.997e-06/18.07, allocations: 0 / 7.186 GB, free: 23.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.007887/18.08, allocations: 2.46 MB / 7.188 GB, free: 23.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/18.08, allocations: 59.53 kB / 7.188 GB, free: 23.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/18.08, allocations: 265.2 kB / 7.188 GB, free: 23.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/18.08, allocations: 25.7 kB / 7.188 GB, free: 23.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/18.08, allocations: 238.2 kB / 7.189 GB, free: 23.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/18.08, allocations: 299.8 kB / 7.189 GB, free: 22.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/18.08, allocations: 0 / 7.189 GB, free: 22.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/18.08, allocations: 357.4 kB / 7.189 GB, free: 22.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/18.08, allocations: 338.9 kB / 7.19 GB, free: 22.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/18.08, allocations: 439.4 kB / 7.19 GB, free: 22.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/18.08, allocations: 0.5201 MB / 7.191 GB, free: 22.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/18.08, allocations: 2.844 kB / 7.191 GB, free: 22.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002501/18.08, allocations: 1.132 MB / 7.192 GB, free: 22.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/18.08, allocations: 9.312 kB / 7.192 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/18.08, allocations: 3.625 kB / 7.192 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/18.08, allocations: 111 kB / 7.192 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/18.08, allocations: 200 kB / 7.192 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/18.09, allocations: 3.87 MB / 7.196 GB, free: 18.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/18.09, allocations: 49.23 kB / 7.196 GB, free: 18.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/18.09, allocations: 48.31 kB / 7.196 GB, free: 18.75 MB / 490.7 MB 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.0002882/18.09, allocations: 130.9 kB / 7.196 GB, free: 18.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/18.09, allocations: 61.8 kB / 7.196 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/18.09, allocations: 1.33 MB / 7.197 GB, free: 18.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/18.09, allocations: 7.5 kB / 7.197 GB, free: 18.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/18.09, allocations: 0 / 7.197 GB, free: 18.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001848/18.09, allocations: 1.371 MB / 7.199 GB, free: 17.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/18.1, allocations: 1.919 MB / 7.201 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/18.1, allocations: 0 / 7.201 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/18.1, allocations: 175.9 kB / 7.201 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/18.1, allocations: 138.8 kB / 7.201 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/18.1, allocations: 23.94 kB / 7.201 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009901/18.1, allocations: 1.351 MB / 7.202 GB, free: 16.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/18.1, allocations: 1.781 kB / 7.202 GB, free: 16.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/18.1, allocations: 1.46 MB / 7.204 GB, free: 16.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/18.1, allocations: 134.9 kB / 7.204 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/18.1, allocations: 8.922 kB / 7.204 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/18.1, allocations: 38.23 kB / 7.204 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/18.1, allocations: 60.38 kB / 7.204 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/18.1, allocations: 52.88 kB / 7.204 GB, free: 15.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002175/18.1, allocations: 225.9 kB / 7.204 GB, free: 15.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.002e-06/18.1, allocations: 0 / 7.204 GB, free: 15.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00908/18.11, allocations: 2.22 MB / 7.206 GB, free: 15.36 MB / 490.7 MB 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.01425/18.12, allocations: 3.312 MB / 7.21 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/18.13, allocations: 1.085 MB / 7.211 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/18.13, allocations: 6.5 kB / 7.211 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005561/18.13, allocations: 477.4 kB / 7.211 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/18.13, allocations: 291.8 kB / 7.211 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/18.13, allocations: 1.324 MB / 7.213 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/18.13, allocations: 0.927 MB / 7.214 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007465/18.13, allocations: 201.8 kB / 7.214 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/18.13, allocations: 85.03 kB / 7.214 GB, free: 13.46 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/18.13, allocations: 0 / 7.214 GB, free: 13.46 MB / 490.7 MB Notification: Performance of Templates: time 0.07496/18.21, allocations: 61.26 MB / 7.274 GB, free: 1.523 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)