Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 177.1 kB / 8.35 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.797/1.797, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.001049/0.001049, allocations: 95.16 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.274e-05, allocations: 7.984 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1261, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.62/15.75, allocations: 6.122 GB / 6.501 GB, free: 94.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/15.75, allocations: 76.7 kB / 6.501 GB, free: 94.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227/18.98, allocations: 0.7989 GB / 7.3 GB, free: 39.17 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/18.98, allocations: 0 / 7.3 GB, free: 39.17 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.243e-05/18.98, allocations: 13.66 kB / 7.3 GB, free: 39.17 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01268/18.99, allocations: 2.727 MB / 7.302 GB, free: 37.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/18.99, allocations: 12.22 kB / 7.302 GB, free: 37.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/18.99, allocations: 55.95 kB / 7.302 GB, free: 37.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/18.99, allocations: 365 kB / 7.303 GB, free: 37.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/18.99, allocations: 12.91 kB / 7.303 GB, free: 37.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/18.99, allocations: 28.16 kB / 7.303 GB, free: 37.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/18.99, allocations: 0.6608 MB / 7.303 GB, free: 37.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/18.99, allocations: 484 kB / 7.304 GB, free: 37.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/18.99, allocations: 0 / 7.304 GB, free: 37.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/18.99, allocations: 4.516 kB / 7.304 GB, free: 37.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/18.99, allocations: 13.83 kB / 7.304 GB, free: 37.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/19.01, allocations: 11.56 MB / 7.315 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008816/19.01, allocations: 483.9 kB / 7.316 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/19.01, allocations: 231.7 kB / 7.316 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02081/19.03, allocations: 20.96 MB / 7.336 GB, free: 21.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/19.03, allocations: 42.28 kB / 7.336 GB, free: 21.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 3.256e-06/19.03, allocations: 0 / 7.336 GB, free: 21.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.005244/19.03, allocations: 1.605 MB / 7.338 GB, free: 21.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/19.03, allocations: 61.12 kB / 7.338 GB, free: 21.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/19.03, allocations: 231.1 kB / 7.338 GB, free: 21.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/19.03, allocations: 25.7 kB / 7.338 GB, free: 21.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/19.03, allocations: 207.3 kB / 7.338 GB, free: 21.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/19.03, allocations: 185.7 kB / 7.339 GB, free: 21.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/19.03, allocations: 0 / 7.339 GB, free: 21.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/19.03, allocations: 342.7 kB / 7.339 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/19.03, allocations: 211 kB / 7.339 GB, free: 20.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/19.03, allocations: 306.9 kB / 7.339 GB, free: 20.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/19.04, allocations: 357.8 kB / 7.34 GB, free: 20.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/19.04, allocations: 0 / 7.34 GB, free: 20.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001896/19.04, allocations: 0.7678 MB / 7.341 GB, free: 20.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/19.04, allocations: 15.52 kB / 7.341 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/19.04, allocations: 2.188 kB / 7.341 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/19.04, allocations: 81.64 kB / 7.341 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/19.04, allocations: 123.2 kB / 7.341 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/19.04, allocations: 3.201 MB / 7.344 GB, free: 17.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/19.04, allocations: 34.83 kB / 7.344 GB, free: 17.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/19.04, allocations: 32.45 kB / 7.344 GB, free: 17.53 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 (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.0002621/19.04, allocations: 133.4 kB / 7.344 GB, free: 17.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/19.04, allocations: 41.66 kB / 7.344 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/19.04, allocations: 0.8532 MB / 7.345 GB, free: 17.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/19.04, allocations: 9.875 kB / 7.345 GB, free: 17.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/19.04, allocations: 0 / 7.345 GB, free: 17.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/19.04, allocations: 0.7915 MB / 7.346 GB, free: 16.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/19.05, allocations: 1.277 MB / 7.347 GB, free: 16.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/19.05, allocations: 3.375 kB / 7.347 GB, free: 16.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/19.05, allocations: 103.4 kB / 7.347 GB, free: 16.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/19.05, allocations: 73.2 kB / 7.347 GB, free: 16.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/19.05, allocations: 15.47 kB / 7.347 GB, free: 16.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005732/19.05, allocations: 0.6779 MB / 7.348 GB, free: 16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/19.05, allocations: 0 / 7.348 GB, free: 16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/19.05, allocations: 0.944 MB / 7.349 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/19.05, allocations: 121.4 kB / 7.349 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/19.05, allocations: 7.375 kB / 7.349 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/19.05, allocations: 22.06 kB / 7.349 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/19.05, allocations: 40.2 kB / 7.349 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/19.05, allocations: 40.41 kB / 7.349 GB, free: 15.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001968/19.05, allocations: 204.4 kB / 7.349 GB, free: 15.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/19.05, allocations: 0 / 7.349 GB, free: 15.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009948/19.06, allocations: 1.921 MB / 7.351 GB, free: 15.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 52 * 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.01493/19.08, allocations: 3.037 MB / 7.354 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/19.08, allocations: 0.7638 MB / 7.355 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/19.08, allocations: 2.906 kB / 7.355 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/19.08, allocations: 286.9 kB / 7.355 GB, free: 14.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/19.08, allocations: 199.2 kB / 7.355 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/19.08, allocations: 0.8115 MB / 7.356 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/19.08, allocations: 0.8493 MB / 7.357 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006015/19.08, allocations: 130.3 kB / 7.357 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/19.08, allocations: 60.28 kB / 7.357 GB, free: 13.53 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/19.08, allocations: 0 / 7.357 GB, free: 13.53 MB / 490.7 MB Notification: Performance of Templates: time 0.07357/19.16, allocations: 52.64 MB / 7.408 GB, free: 11.08 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)