Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002661/0.002661, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 90.2 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.05e-05, allocations: 4 kB / 315.6 MB, free: 22.65 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 47.59 MB / 363.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.35/19.51, allocations: 6.597 GB / 6.952 GB, free: 102.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/19.51, allocations: 79.98 kB / 6.952 GB, free: 102.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.803/22.31, allocations: 0.6563 GB / 7.608 GB, free: 30.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.723e-06/22.31, allocations: 3.344 kB / 7.608 GB, free: 30.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.707e-05/22.31, allocations: 13.56 kB / 7.608 GB, free: 30.53 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.01324/22.33, allocations: 2.387 MB / 7.61 GB, free: 29.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/22.33, allocations: 8.469 kB / 7.61 GB, free: 29.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/22.33, allocations: 82.75 kB / 7.61 GB, free: 29.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/22.33, allocations: 442.7 kB / 7.611 GB, free: 29.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/22.33, allocations: 18.38 kB / 7.611 GB, free: 29.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/22.33, allocations: 38 kB / 7.611 GB, free: 29.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/22.33, allocations: 0.91 MB / 7.612 GB, free: 29.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/22.33, allocations: 0.6476 MB / 7.612 GB, free: 29.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/22.33, allocations: 5.062 kB / 7.612 GB, free: 29.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/22.33, allocations: 1.312 kB / 7.612 GB, free: 29.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/22.33, allocations: 14.66 kB / 7.612 GB, free: 29.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/22.35, allocations: 12.36 MB / 7.624 GB, free: 18.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/22.35, allocations: 0.7111 MB / 7.625 GB, free: 18.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/22.35, allocations: 371.6 kB / 7.626 GB, free: 18.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03954/22.39, allocations: 30.74 MB / 7.656 GB, free: 19.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/22.39, allocations: 44.66 kB / 7.656 GB, free: 19.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/22.39, allocations: 0 / 7.656 GB, free: 19.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.00707/22.4, allocations: 2.47 MB / 7.658 GB, free: 18.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/22.4, allocations: 60.09 kB / 7.658 GB, free: 18.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/22.4, allocations: 258 kB / 7.658 GB, free: 18.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/22.4, allocations: 25.7 kB / 7.658 GB, free: 18.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/22.4, allocations: 241.8 kB / 7.659 GB, free: 18.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/22.4, allocations: 299.2 kB / 7.659 GB, free: 18.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/22.4, allocations: 2.5 kB / 7.659 GB, free: 18.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/22.4, allocations: 361.8 kB / 7.659 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/22.4, allocations: 334.5 kB / 7.66 GB, free: 18.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/22.4, allocations: 435.8 kB / 7.66 GB, free: 18.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/22.4, allocations: 0.5251 MB / 7.66 GB, free: 18.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/22.4, allocations: 0 / 7.66 GB, free: 18.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002431/22.4, allocations: 1.123 MB / 7.662 GB, free: 17.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/22.4, allocations: 11.42 kB / 7.662 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/22.4, allocations: 3.469 kB / 7.662 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/22.4, allocations: 117.4 kB / 7.662 GB, free: 17.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/22.4, allocations: 190.3 kB / 7.662 GB, free: 17.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/22.4, allocations: 3.861 MB / 7.666 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/22.4, allocations: 45.39 kB / 7.666 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/22.4, allocations: 47 kB / 7.666 GB, free: 14.34 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.0002629/22.41, allocations: 133.5 kB / 7.666 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002252/22.41, allocations: 0.9941 MB / 7.667 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/22.41, allocations: 57.61 kB / 7.667 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/22.41, allocations: 1.331 MB / 7.668 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/22.41, allocations: 10.16 kB / 7.668 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/22.41, allocations: 3.562 kB / 7.668 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002378/22.41, allocations: 1.371 MB / 7.67 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/22.42, allocations: 1.921 MB / 7.671 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/22.42, allocations: 0 / 7.671 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/22.42, allocations: 180.7 kB / 7.672 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/22.42, allocations: 134.4 kB / 7.672 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/22.42, allocations: 26.44 kB / 7.672 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/22.42, allocations: 1.346 MB / 7.673 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/22.42, allocations: 3.188 kB / 7.673 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/22.42, allocations: 1.451 MB / 7.674 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/22.42, allocations: 138.5 kB / 7.675 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/22.42, allocations: 9.297 kB / 7.675 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/22.42, allocations: 39.89 kB / 7.675 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/22.42, allocations: 55.05 kB / 7.675 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/22.42, allocations: 55.2 kB / 7.675 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002095/22.42, allocations: 221.5 kB / 7.675 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/22.42, allocations: 0 / 7.675 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009017/22.43, allocations: 2.263 MB / 7.677 GB, free: 26.83 MB / 0.4948 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.01837/22.45, allocations: 5.598 MB / 7.683 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001842/22.45, allocations: 1.083 MB / 7.684 GB, free: 25.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/22.45, allocations: 4.125 kB / 7.684 GB, free: 25.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000629/22.45, allocations: 476.1 kB / 7.684 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/22.45, allocations: 296.1 kB / 7.684 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/22.46, allocations: 2.4 MB / 7.687 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/22.46, allocations: 0.9203 MB / 7.688 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008547/22.46, allocations: 196.3 kB / 7.688 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/22.46, allocations: 224.9 kB / 7.688 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/22.46, allocations: 1.969 kB / 7.688 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/22.63, allocations: 76.48 MB / 7.763 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/22.63, allocations: 161.6 kB / 7.763 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/27.68, allocations: 1.125 kB / 7.763 GB, free: 16.98 MB / 0.4948 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)