Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 93.02 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.249e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.4/18.54, allocations: 6.123 GB / 6.509 GB, free: 94.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/18.54, allocations: 76.09 kB / 6.509 GB, free: 94.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.159/21.7, allocations: 0.6372 GB / 7.146 GB, free: 44.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.644e-06/21.7, allocations: 0 / 7.146 GB, free: 44.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.589e-05/21.7, allocations: 13.75 kB / 7.146 GB, free: 44.95 MB / 490.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.01071/21.71, allocations: 2.339 MB / 7.149 GB, free: 43.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/21.71, allocations: 11.28 kB / 7.149 GB, free: 43.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/21.71, allocations: 84.61 kB / 7.149 GB, free: 43.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/21.71, allocations: 439.8 kB / 7.149 GB, free: 43.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/21.71, allocations: 20.97 kB / 7.149 GB, free: 43.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/21.71, allocations: 50.73 kB / 7.149 GB, free: 43.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/21.71, allocations: 0.9119 MB / 7.15 GB, free: 43.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/21.71, allocations: 0.6419 MB / 7.151 GB, free: 43.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/21.71, allocations: 0 / 7.151 GB, free: 43.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/21.71, allocations: 0 / 7.151 GB, free: 43.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/21.71, allocations: 15.53 kB / 7.151 GB, free: 43.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/21.73, allocations: 12.36 MB / 7.163 GB, free: 32.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/21.73, allocations: 0.7035 MB / 7.163 GB, free: 32.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/21.73, allocations: 363.7 kB / 7.164 GB, free: 32.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04022/21.77, allocations: 30.74 MB / 7.194 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.522e-05/21.77, allocations: 46.8 kB / 7.194 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 6.923e-06/21.77, allocations: 0 / 7.194 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.009428/21.78, allocations: 2.466 MB / 7.196 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/21.78, allocations: 62.25 kB / 7.196 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/21.78, allocations: 255.9 kB / 7.197 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/21.78, allocations: 27.11 kB / 7.197 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/21.78, allocations: 240.9 kB / 7.197 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/21.78, allocations: 296.6 kB / 7.197 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/21.78, allocations: 2.5 kB / 7.197 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002368/21.78, allocations: 364.6 kB / 7.198 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/21.78, allocations: 330 kB / 7.198 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/21.78, allocations: 446.7 kB / 7.198 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/21.78, allocations: 0.5163 MB / 7.199 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/21.78, allocations: 1.969 kB / 7.199 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003807/21.79, allocations: 1.13 MB / 7.2 GB, free: 32.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/21.79, allocations: 8.844 kB / 7.2 GB, free: 32.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/21.79, allocations: 4.375 kB / 7.2 GB, free: 32.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/21.79, allocations: 119.1 kB / 7.2 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/21.79, allocations: 192.6 kB / 7.2 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/21.79, allocations: 3.86 MB / 7.204 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/21.79, allocations: 43.66 kB / 7.204 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/21.79, allocations: 50.23 kB / 7.204 GB, free: 28.73 MB / 0.5105 GB 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.0004758/21.79, allocations: 139.4 kB / 7.204 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003066/21.8, allocations: 0.9869 MB / 7.205 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/21.8, allocations: 62.64 kB / 7.205 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/21.8, allocations: 1.336 MB / 7.206 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/21.8, allocations: 11.81 kB / 7.207 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/21.8, allocations: 1.188 kB / 7.207 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002581/21.8, allocations: 1.366 MB / 7.208 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/21.81, allocations: 1.92 MB / 7.21 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/21.81, allocations: 6.188 kB / 7.21 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/21.81, allocations: 174.3 kB / 7.21 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/21.81, allocations: 132.8 kB / 7.21 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/21.81, allocations: 19.28 kB / 7.21 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/21.81, allocations: 1.346 MB / 7.211 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/21.81, allocations: 1.062 kB / 7.211 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/21.81, allocations: 1.464 MB / 7.213 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/21.81, allocations: 141.8 kB / 7.213 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/21.81, allocations: 7.438 kB / 7.213 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/21.82, allocations: 35 kB / 7.213 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/21.82, allocations: 56.25 kB / 7.213 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/21.82, allocations: 53.48 kB / 7.213 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003052/21.82, allocations: 224.3 kB / 7.213 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.663e-06/21.82, allocations: 0 / 7.213 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01084/21.83, allocations: 2.243 MB / 7.215 GB, free: 25.23 MB / 0.5105 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.02416/21.85, allocations: 5.416 MB / 7.221 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002323/21.85, allocations: 1.087 MB / 7.222 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/21.85, allocations: 0 / 7.222 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/21.85, allocations: 480.4 kB / 7.222 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/21.86, allocations: 292.6 kB / 7.223 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/21.87, allocations: 2.38 MB / 7.225 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/21.87, allocations: 0.9315 MB / 7.226 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001127/21.87, allocations: 196.3 kB / 7.226 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/21.87, allocations: 230.8 kB / 7.226 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/21.87, allocations: 0 / 7.226 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/22, allocations: 69.18 MB / 7.294 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/22, allocations: 166.2 kB / 7.294 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.611/26.61, allocations: 3.375 kB / 7.294 GB, free: 18.29 MB / 0.5105 GB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)