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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.00169/0.00169, 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.483/1.483, 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.0009567/0.0009567, allocations: 94.8 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.123e-05, allocations: 0 / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.44/17.57, allocations: 6.122 GB / 6.501 GB, free: 92.19 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/17.57, allocations: 79.66 kB / 6.501 GB, free: 92.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.579/21.15, allocations: 0.7989 GB / 7.3 GB, free: 38.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.412e-06/21.15, allocations: 0 / 7.3 GB, free: 38.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.67e-05/21.15, allocations: 13.75 kB / 7.3 GB, free: 38.47 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.01459/21.17, allocations: 2.733 MB / 7.302 GB, free: 37.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/21.17, allocations: 7.406 kB / 7.302 GB, free: 37.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/21.17, allocations: 62.22 kB / 7.302 GB, free: 37.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/21.17, allocations: 364.6 kB / 7.303 GB, free: 36.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/21.17, allocations: 13.75 kB / 7.303 GB, free: 36.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/21.17, allocations: 30.53 kB / 7.303 GB, free: 36.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001035/21.17, allocations: 0.6613 MB / 7.303 GB, free: 36.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/21.17, allocations: 480.9 kB / 7.304 GB, free: 36.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/21.17, allocations: 3.906 kB / 7.304 GB, free: 36.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/21.17, allocations: 2.156 kB / 7.304 GB, free: 36.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/21.17, allocations: 13.42 kB / 7.304 GB, free: 36.91 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/21.18, allocations: 11.56 MB / 7.315 GB, free: 26.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/21.18, allocations: 483.7 kB / 7.316 GB, free: 26.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/21.18, allocations: 230.3 kB / 7.316 GB, free: 26.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/21.2, allocations: 20.97 MB / 7.336 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/21.2, allocations: 44.53 kB / 7.336 GB, free: 21.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.565e-06/21.2, allocations: 0 / 7.336 GB, free: 21.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.004599/21.21, allocations: 1.606 MB / 7.338 GB, free: 20.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/21.21, allocations: 59.47 kB / 7.338 GB, free: 20.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/21.21, allocations: 225.2 kB / 7.338 GB, free: 20.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/21.21, allocations: 27.77 kB / 7.338 GB, free: 20.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/21.21, allocations: 207.1 kB / 7.339 GB, free: 20.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/21.21, allocations: 187.2 kB / 7.339 GB, free: 20.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/21.21, allocations: 0 / 7.339 GB, free: 20.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/21.21, allocations: 346.4 kB / 7.339 GB, free: 20.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/21.21, allocations: 212 kB / 7.339 GB, free: 20 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/21.21, allocations: 311.6 kB / 7.34 GB, free: 19.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/21.21, allocations: 358.2 kB / 7.34 GB, free: 19.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/21.21, allocations: 0 / 7.34 GB, free: 19.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001726/21.21, allocations: 0.7687 MB / 7.341 GB, free: 19.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/21.21, allocations: 10.92 kB / 7.341 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/21.21, allocations: 3.688 kB / 7.341 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/21.21, allocations: 81.3 kB / 7.341 GB, free: 19.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/21.21, allocations: 124.8 kB / 7.341 GB, free: 19.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/21.21, allocations: 3.203 MB / 7.344 GB, free: 16.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/21.22, allocations: 26.45 kB / 7.344 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/21.22, allocations: 36.94 kB / 7.344 GB, free: 16.82 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.0002852/21.22, allocations: 133.3 kB / 7.344 GB, free: 16.71 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00162/21.22, allocations: 0.6408 MB / 7.345 GB, free: 16.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/21.22, allocations: 39.91 kB / 7.345 GB, free: 16.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/21.22, allocations: 0.8562 MB / 7.346 GB, free: 16.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/21.22, allocations: 6.531 kB / 7.346 GB, free: 16.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/21.22, allocations: 0 / 7.346 GB, free: 16.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/21.22, allocations: 0.7911 MB / 7.346 GB, free: 16.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/21.22, allocations: 1.288 MB / 7.348 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/21.22, allocations: 3.312 kB / 7.348 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/21.22, allocations: 99.58 kB / 7.348 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/21.22, allocations: 67.64 kB / 7.348 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/21.22, allocations: 15.19 kB / 7.348 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005348/21.22, allocations: 0.6763 MB / 7.349 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/21.22, allocations: 0 / 7.349 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/21.23, allocations: 0.95 MB / 7.349 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/21.23, allocations: 128.5 kB / 7.35 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/21.23, allocations: 3.344 kB / 7.35 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/21.23, allocations: 24.8 kB / 7.35 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/21.23, allocations: 33.12 kB / 7.35 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/21.23, allocations: 41.62 kB / 7.35 GB, free: 14.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002018/21.23, allocations: 199.4 kB / 7.35 GB, free: 14.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/21.23, allocations: 0 / 7.35 GB, free: 14.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008877/21.24, allocations: 1.915 MB / 7.352 GB, free: 14.39 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.01596/21.25, allocations: 4.593 MB / 7.356 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/21.25, allocations: 0.761 MB / 7.357 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/21.25, allocations: 0 / 7.357 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/21.25, allocations: 284.8 kB / 7.357 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/21.25, allocations: 195 kB / 7.357 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/21.26, allocations: 1.696 MB / 7.359 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/21.26, allocations: 0.8438 MB / 7.36 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/21.26, allocations: 136 kB / 7.36 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/21.26, allocations: 158.4 kB / 7.36 GB, free: 11.52 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/21.26, allocations: 0 / 7.36 GB, free: 11.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/21.37, allocations: 58.88 MB / 7.418 GB, free: 8.672 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/21.37, allocations: 163.5 kB / 7.418 GB, free: 8.484 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.322/25.69, allocations: 4 kB / 7.418 GB, free: 8.48 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)