Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, 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.588/1.588, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009052/0.0009055, allocations: 94.17 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.207e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 51.48 MB / 395.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.49/18.64, allocations: 6.123 GB / 6.509 GB, free: 99.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/18.64, allocations: 76.7 kB / 6.509 GB, free: 99.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915/21.55, allocations: 0.7989 GB / 7.308 GB, free: 7.848 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.344e-06/21.55, allocations: 4 kB / 7.308 GB, free: 7.844 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/21.55, allocations: 11.94 kB / 7.308 GB, free: 7.832 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.01483/21.57, allocations: 2.736 MB / 7.311 GB, free: 5.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/21.57, allocations: 12.03 kB / 7.311 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/21.57, allocations: 67.42 kB / 7.311 GB, free: 4.973 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/21.57, allocations: 355.8 kB / 7.311 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/21.57, allocations: 12 kB / 7.311 GB, free: 4.574 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/21.57, allocations: 24 kB / 7.311 GB, free: 4.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008822/21.57, allocations: 0.6662 MB / 7.312 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/21.57, allocations: 479.9 kB / 7.312 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/21.57, allocations: 0 / 7.312 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/21.57, allocations: 4 kB / 7.312 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/21.57, allocations: 8 kB / 7.312 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/21.58, allocations: 11.56 MB / 7.324 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/21.58, allocations: 493.5 kB / 7.324 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/21.58, allocations: 230.5 kB / 7.324 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3972/21.98, allocations: 20.97 MB / 7.345 GB, free: 29.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/21.98, allocations: 43.53 kB / 7.345 GB, free: 29.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.585e-06/21.98, allocations: 0 / 7.345 GB, free: 29.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.004652/21.99, allocations: 1.596 MB / 7.346 GB, free: 29.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/21.99, allocations: 59.06 kB / 7.346 GB, free: 29.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/21.99, allocations: 229.3 kB / 7.347 GB, free: 29.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/21.99, allocations: 25.7 kB / 7.347 GB, free: 29.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/21.99, allocations: 204.5 kB / 7.347 GB, free: 29.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/21.99, allocations: 184.8 kB / 7.347 GB, free: 28.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/21.99, allocations: 0 / 7.347 GB, free: 28.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/21.99, allocations: 350.5 kB / 7.347 GB, free: 28.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/21.99, allocations: 214.3 kB / 7.348 GB, free: 28.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/21.99, allocations: 304.8 kB / 7.348 GB, free: 28.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/21.99, allocations: 351.2 kB / 7.348 GB, free: 28.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/21.99, allocations: 0 / 7.348 GB, free: 28.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00174/21.99, allocations: 0.7695 MB / 7.349 GB, free: 28.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/21.99, allocations: 9.422 kB / 7.349 GB, free: 28.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/21.99, allocations: 2.703 kB / 7.349 GB, free: 28.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/21.99, allocations: 81.27 kB / 7.349 GB, free: 28.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/21.99, allocations: 131.3 kB / 7.349 GB, free: 28.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/21.99, allocations: 3.197 MB / 7.352 GB, free: 25.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/21.99, allocations: 27.73 kB / 7.352 GB, free: 25.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/21.99, allocations: 40.59 kB / 7.352 GB, free: 25.49 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.0002198/21.99, allocations: 118.3 kB / 7.353 GB, free: 25.38 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001612/22, allocations: 0.6481 MB / 7.353 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/22, allocations: 43.64 kB / 7.353 GB, free: 25.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/22, allocations: 0.8531 MB / 7.354 GB, free: 25.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/22, allocations: 5.625 kB / 7.354 GB, free: 25.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/22, allocations: 1.422 kB / 7.354 GB, free: 25.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/22, allocations: 0.7998 MB / 7.355 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/22, allocations: 1.275 MB / 7.356 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/22, allocations: 0 / 7.356 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/22, allocations: 106.5 kB / 7.356 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/22, allocations: 61.95 kB / 7.356 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/22, allocations: 17.39 kB / 7.356 GB, free: 24.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004343/22, allocations: 0.6801 MB / 7.357 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/22, allocations: 4.5 kB / 7.357 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/22, allocations: 0.9493 MB / 7.358 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/22, allocations: 121.1 kB / 7.358 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/22, allocations: 7.734 kB / 7.358 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/22, allocations: 22.47 kB / 7.358 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/22, allocations: 33.31 kB / 7.358 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/22, allocations: 38.91 kB / 7.358 GB, free: 23.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001822/22, allocations: 199.8 kB / 7.358 GB, free: 23.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/22, allocations: 2.844 kB / 7.358 GB, free: 23.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01038/22.01, allocations: 1.935 MB / 7.36 GB, free: 23.48 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.01768/22.03, allocations: 4.609 MB / 7.365 GB, free: 22.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/22.03, allocations: 0.7658 MB / 7.365 GB, free: 22.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/22.03, allocations: 0 / 7.365 GB, free: 22.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/22.03, allocations: 287.8 kB / 7.366 GB, free: 22.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/22.04, allocations: 194.7 kB / 7.366 GB, free: 22.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/22.04, allocations: 1.704 MB / 7.367 GB, free: 21.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/22.04, allocations: 0.8453 MB / 7.368 GB, free: 21.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005758/22.04, allocations: 138.9 kB / 7.368 GB, free: 21.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/22.04, allocations: 155.5 kB / 7.369 GB, free: 21.21 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/22.04, allocations: 1.594 kB / 7.369 GB, free: 21.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/22.17, allocations: 59.08 MB / 7.426 GB, free: 19.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/22.17, allocations: 160 kB / 7.426 GB, free: 19.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.306/26.48, allocations: 0 / 7.426 GB, free: 19.38 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)