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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, 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.603/1.603, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.001241/0.001241, allocations: 83.06 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.565e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 50.4 MB / 387.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.32/16.46, allocations: 6.122 GB / 6.501 GB, free: 97.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/16.46, allocations: 76.22 kB / 6.501 GB, free: 97.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.451/18.91, allocations: 0.6375 GB / 7.138 GB, free: 34.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.963e-06/18.91, allocations: 0 / 7.138 GB, free: 34.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.106e-05/18.91, allocations: 16.66 kB / 7.138 GB, free: 34.83 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.01111/18.92, allocations: 2.334 MB / 7.141 GB, free: 33.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/18.92, allocations: 13.59 kB / 7.141 GB, free: 33.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/18.92, allocations: 82.11 kB / 7.141 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/18.92, allocations: 437.8 kB / 7.141 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/18.92, allocations: 21.28 kB / 7.141 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/18.93, allocations: 40.03 kB / 7.141 GB, free: 33.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/18.93, allocations: 0.91 MB / 7.142 GB, free: 33.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/18.93, allocations: 0.6494 MB / 7.143 GB, free: 33.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/18.93, allocations: 1.781 kB / 7.143 GB, free: 33.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/18.93, allocations: 0 / 7.143 GB, free: 33.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/18.93, allocations: 16.97 kB / 7.143 GB, free: 33.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/18.94, allocations: 12.35 MB / 7.155 GB, free: 22.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/18.94, allocations: 0.7052 MB / 7.155 GB, free: 22.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/18.94, allocations: 373.2 kB / 7.156 GB, free: 22.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03434/18.98, allocations: 30.74 MB / 7.186 GB, free: 23.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/18.98, allocations: 50.91 kB / 7.186 GB, free: 23.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.036e-06/18.98, allocations: 0 / 7.186 GB, free: 23.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.007025/18.98, allocations: 2.458 MB / 7.188 GB, free: 22.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/18.98, allocations: 67.28 kB / 7.188 GB, free: 22.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/18.98, allocations: 254.6 kB / 7.189 GB, free: 22.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/18.98, allocations: 29.72 kB / 7.189 GB, free: 22.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/18.98, allocations: 244.5 kB / 7.189 GB, free: 22.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/18.99, allocations: 296.5 kB / 7.189 GB, free: 22.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/18.99, allocations: 3.344 kB / 7.189 GB, free: 22.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/18.99, allocations: 357 kB / 7.189 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/18.99, allocations: 329.4 kB / 7.19 GB, free: 22.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/18.99, allocations: 442.5 kB / 7.19 GB, free: 21.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/18.99, allocations: 0.5223 MB / 7.191 GB, free: 21.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/18.99, allocations: 0.7656 kB / 7.191 GB, free: 21.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002457/18.99, allocations: 1.138 MB / 7.192 GB, free: 21.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/18.99, allocations: 3.906 kB / 7.192 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/18.99, allocations: 2.781 kB / 7.192 GB, free: 21.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/18.99, allocations: 119.4 kB / 7.192 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/18.99, allocations: 191.7 kB / 7.192 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/18.99, allocations: 3.871 MB / 7.196 GB, free: 18.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/18.99, allocations: 49.7 kB / 7.196 GB, free: 18.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/18.99, allocations: 53.78 kB / 7.196 GB, free: 18.24 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.0003031/18.99, allocations: 123.6 kB / 7.196 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002303/19, allocations: 0.9948 MB / 7.197 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/19, allocations: 61.03 kB / 7.197 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/19, allocations: 1.335 MB / 7.198 GB, free: 17.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/19, allocations: 6.844 kB / 7.198 GB, free: 17.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/19, allocations: 3.719 kB / 7.198 GB, free: 17.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/19, allocations: 1.364 MB / 7.2 GB, free: 17.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/19.01, allocations: 1.926 MB / 7.202 GB, free: 16.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/19.01, allocations: 8.906 kB / 7.202 GB, free: 16.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/19.01, allocations: 164.7 kB / 7.202 GB, free: 16.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/19.01, allocations: 143.9 kB / 7.202 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/19.01, allocations: 24.67 kB / 7.202 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/19.01, allocations: 1.342 MB / 7.203 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/19.01, allocations: 8.891 kB / 7.203 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/19.01, allocations: 1.451 MB / 7.205 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/19.01, allocations: 136 kB / 7.205 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/19.01, allocations: 10.81 kB / 7.205 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/19.01, allocations: 31.38 kB / 7.205 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/19.01, allocations: 59.94 kB / 7.205 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/19.01, allocations: 57.16 kB / 7.205 GB, free: 15.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002946/19.01, allocations: 225.5 kB / 7.205 GB, free: 15.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/19.01, allocations: 0 / 7.205 GB, free: 15.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01126/19.02, allocations: 2.221 MB / 7.207 GB, free: 14.73 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.02014/19.04, allocations: 5.398 MB / 7.213 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001975/19.05, allocations: 1.09 MB / 7.214 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/19.05, allocations: 0 / 7.214 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006823/19.05, allocations: 477.2 kB / 7.214 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/19.05, allocations: 286.8 kB / 7.214 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/19.06, allocations: 2.368 MB / 7.217 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/19.06, allocations: 0.9274 MB / 7.218 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00103/19.06, allocations: 195.8 kB / 7.218 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/19.06, allocations: 230.7 kB / 7.218 GB, free: 11.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/19.06, allocations: 0 / 7.218 GB, free: 11.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4436/19.5, allocations: 68.98 MB / 7.285 GB, free: 65.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/19.5, allocations: 170.5 kB / 7.286 GB, free: 65.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.823/24.33, allocations: 2.875 kB / 7.286 GB, free: 65.39 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)