Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 183.3 kB / 498.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 0.7948 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.0009879, allocations: 96.31 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 10.41 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3136, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.46, allocations: 373.4 MB / 1.588 GB, free: 21.8 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.46, allocations: 96.62 kB / 1.588 GB, free: 21.74 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02781/1.488, allocations: 14.23 MB / 1.602 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.407e-06/1.488, allocations: 4 kB / 1.602 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.131e-05/1.488, allocations: 4 kB / 1.602 GB, free: 10.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007813/1.489, allocations: 476 kB / 1.602 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.489, allocations: 8.031 kB / 1.602 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/1.489, allocations: 42.23 kB / 1.602 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/1.489, allocations: 19.77 kB / 1.602 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/1.489, allocations: 174.9 kB / 1.602 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/1.489, allocations: 7.375 kB / 1.602 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/1.489, allocations: 15.42 kB / 1.602 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/1.489, allocations: 132.4 kB / 1.602 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.489, allocations: 0 / 1.602 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.49, allocations: 0 / 1.602 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.49, allocations: 7.938 kB / 1.602 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/1.49, allocations: 168.8 kB / 1.603 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009587/1.491, allocations: 467.8 kB / 1.603 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/1.491, allocations: 134.6 kB / 1.603 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.492, allocations: 0.9549 MB / 1.604 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/1.492, allocations: 38.55 kB / 1.604 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/1.492, allocations: 0 / 1.604 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0006282/1.493, allocations: 248.5 kB / 1.604 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/1.493, allocations: 51.41 kB / 1.604 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.493, allocations: 145.7 kB / 1.605 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.493, allocations: 29.58 kB / 1.605 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/1.493, allocations: 112 kB / 1.605 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/1.493, allocations: 46.86 kB / 1.605 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.493, allocations: 3.25 kB / 1.605 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/1.493, allocations: 326 kB / 1.605 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/1.494, allocations: 84.25 kB / 1.605 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/1.494, allocations: 118.6 kB / 1.605 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/1.494, allocations: 96.28 kB / 1.605 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.494, allocations: 4 kB / 1.605 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005106/1.495, allocations: 263 kB / 1.606 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.495, allocations: 4 kB / 1.606 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.495, allocations: 0 / 1.606 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.495, allocations: 7.938 kB / 1.606 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/1.495, allocations: 67.36 kB / 1.606 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.495, allocations: 4 kB / 1.606 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/1.495, allocations: 35.11 kB / 1.606 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/1.495, allocations: 4 kB / 1.606 GB, free: 6.141 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/1.495, allocations: 128.8 kB / 1.606 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/1.495, allocations: 15.86 kB / 1.606 GB, free: 6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/1.496, allocations: 197.6 kB / 1.606 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.496, allocations: 0 / 1.606 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.496, allocations: 3.984 kB / 1.606 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.496, allocations: 4 kB / 1.606 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/1.496, allocations: 214.8 kB / 1.606 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.496, allocations: 0 / 1.606 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/1.496, allocations: 31.97 kB / 1.606 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.496, allocations: 11.95 kB / 1.606 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.496, allocations: 7.875 kB / 1.606 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.496, allocations: 3.938 kB / 1.606 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.496, allocations: 0 / 1.606 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/1.497, allocations: 276.7 kB / 1.607 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/1.497, allocations: 85.02 kB / 1.607 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/1.497, allocations: 3.953 kB / 1.607 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/1.497, allocations: 23.97 kB / 1.607 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/1.497, allocations: 11.05 kB / 1.607 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/1.497, allocations: 4 kB / 1.607 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.098e-05/1.497, allocations: 118.6 kB / 1.607 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/1.497, allocations: 0 / 1.607 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003365/1.497, allocations: 63.38 kB / 1.607 GB, free: 4.977 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008432/1.498, allocations: 0.8991 MB / 1.608 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004728/1.499, allocations: 191.4 kB / 1.608 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.499, allocations: 0 / 1.608 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/1.499, allocations: 79.08 kB / 1.608 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.499, allocations: 26.3 kB / 1.608 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008562/1.5, allocations: 1.052 MB / 1.609 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/1.5, allocations: 0.7125 MB / 1.61 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001096/1.5, allocations: 28.94 kB / 1.61 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/1.5, allocations: 37.17 kB / 1.61 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of SimCode: time 6.051e-06/1.5, allocations: 0 / 1.61 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/1.519, allocations: 4.211 MB / 1.614 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.519, allocations: 203.5 kB / 1.614 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/3.483, allocations: 0 / 1.614 GB, free: 13.73 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat