Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.002131/0.002131, allocations: 176.8 kB / 8.696 MB, free: 388 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.098/2.098, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.001016/0.001016, allocations: 78.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.529e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 47.59 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.68/18.8, allocations: 6.597 GB / 6.952 GB, free: 28.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/18.8, allocations: 72.41 kB / 6.952 GB, free: 28.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.364/22.17, allocations: 0.8215 GB / 7.773 GB, free: 41.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.425e-06/22.17, allocations: 0 / 7.773 GB, free: 41.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/22.17, allocations: 7.656 kB / 7.773 GB, free: 41.42 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01456/22.18, allocations: 2.886 MB / 7.776 GB, free: 39.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/22.18, allocations: 7.5 kB / 7.776 GB, free: 39.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/22.18, allocations: 64.67 kB / 7.776 GB, free: 39.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/22.18, allocations: 359.5 kB / 7.776 GB, free: 39.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/22.18, allocations: 11.47 kB / 7.776 GB, free: 39.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/22.18, allocations: 34.22 kB / 7.776 GB, free: 39.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009425/22.18, allocations: 0.6662 MB / 7.777 GB, free: 39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/22.19, allocations: 477 kB / 7.778 GB, free: 38.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/22.19, allocations: 0 / 7.778 GB, free: 38.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/22.19, allocations: 7.062 kB / 7.778 GB, free: 38.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/22.19, allocations: 7.281 kB / 7.778 GB, free: 38.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/22.2, allocations: 11.57 MB / 7.789 GB, free: 27.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/22.2, allocations: 488.3 kB / 7.789 GB, free: 27.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/22.2, allocations: 228.5 kB / 7.79 GB, free: 27.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0244/22.23, allocations: 20.97 MB / 7.81 GB, free: 19.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/22.23, allocations: 46.84 kB / 7.81 GB, free: 19.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.136e-06/22.23, allocations: 0 / 7.81 GB, free: 19.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.004568/22.23, allocations: 1.604 MB / 7.812 GB, free: 17.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/22.23, allocations: 63.72 kB / 7.812 GB, free: 17.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/22.23, allocations: 222.8 kB / 7.812 GB, free: 17.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/22.23, allocations: 29.7 kB / 7.812 GB, free: 17.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/22.23, allocations: 199.1 kB / 7.812 GB, free: 17.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/22.23, allocations: 188.1 kB / 7.812 GB, free: 17.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/22.23, allocations: 0 / 7.812 GB, free: 17.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/22.23, allocations: 350 kB / 7.813 GB, free: 16.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/22.23, allocations: 211.5 kB / 7.813 GB, free: 16.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/22.23, allocations: 306.9 kB / 7.813 GB, free: 16.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/22.23, allocations: 357.2 kB / 7.813 GB, free: 15.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/22.23, allocations: 0 / 7.813 GB, free: 15.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001694/22.23, allocations: 0.7728 MB / 7.814 GB, free: 15.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/22.23, allocations: 8 kB / 7.814 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/22.23, allocations: 4 kB / 7.814 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/22.23, allocations: 77.83 kB / 7.814 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/22.23, allocations: 127.4 kB / 7.814 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/22.24, allocations: 3.184 MB / 7.818 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/22.24, allocations: 34.47 kB / 7.818 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/22.24, allocations: 43.34 kB / 7.818 GB, free: 11.6 MB / 474.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.0002303/22.24, allocations: 124.7 kB / 7.818 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001459/22.24, allocations: 0.6411 MB / 7.818 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/22.24, allocations: 43.53 kB / 7.818 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/22.24, allocations: 0.8576 MB / 7.819 GB, free: 10.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/22.24, allocations: 4 kB / 7.819 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/22.24, allocations: 0 / 7.819 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/22.24, allocations: 0.7999 MB / 7.82 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/22.24, allocations: 1.274 MB / 7.821 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/22.24, allocations: 0 / 7.821 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/22.24, allocations: 109.9 kB / 7.821 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/22.24, allocations: 70.7 kB / 7.821 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/22.24, allocations: 15.31 kB / 7.821 GB, free: 8.074 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004952/22.25, allocations: 0.6816 MB / 7.822 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/22.25, allocations: 0 / 7.822 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/22.25, allocations: 0.9485 MB / 7.823 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/22.25, allocations: 120.7 kB / 7.823 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/22.25, allocations: 8 kB / 7.823 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/22.25, allocations: 19.98 kB / 7.823 GB, free: 6.273 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/22.25, allocations: 40.38 kB / 7.823 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/22.25, allocations: 31.97 kB / 7.823 GB, free: 6.203 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002099/22.25, allocations: 200.4 kB / 7.823 GB, free: 6.008 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/22.25, allocations: 0 / 7.823 GB, free: 6.008 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01033/22.26, allocations: 1.947 MB / 7.825 GB, free: 4.059 MB / 474.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.3803/22.64, allocations: 4.757 MB / 7.83 GB, free: 58.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/22.64, allocations: 0.76 MB / 7.831 GB, free: 58.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/22.64, allocations: 1.75 kB / 7.831 GB, free: 58.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/22.64, allocations: 279.5 kB / 7.831 GB, free: 58.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/22.64, allocations: 202.2 kB / 7.831 GB, free: 58.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009202/22.65, allocations: 1.707 MB / 7.833 GB, free: 58.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/22.65, allocations: 0.8443 MB / 7.834 GB, free: 57.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007759/22.65, allocations: 132.9 kB / 7.834 GB, free: 57.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/22.65, allocations: 157.5 kB / 7.834 GB, free: 57.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.833e-06/22.65, allocations: 0 / 7.834 GB, free: 57.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/22.8, allocations: 64.02 MB / 7.896 GB, free: 53.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/22.8, allocations: 167.3 kB / 7.897 GB, free: 53.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.712/27.51, allocations: 0 / 7.897 GB, free: 53.51 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)