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.215/2.215, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001055/0.001055, allocations: 172.9 kB / 492.3 MB, free: 0.6055 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.539/1.539, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009652/0.0009653, allocations: 110.5 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.786e-05/4.788e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.567, allocations: 373.3 MB / 1.577 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.568, allocations: 86.64 kB / 1.577 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03216/1.6, allocations: 14.16 MB / 1.591 GB, free: 12.73 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.362e-06/1.6, allocations: 0 / 1.591 GB, free: 12.73 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.6, allocations: 4 kB / 1.591 GB, free: 12.73 MB / 1.01 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.0008266/1.601, allocations: 466.4 kB / 1.591 GB, free: 12.24 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.601, allocations: 16.03 kB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/1.601, allocations: 34.06 kB / 1.591 GB, free: 12.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/1.601, allocations: 11.91 kB / 1.591 GB, free: 12.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/1.601, allocations: 191.8 kB / 1.592 GB, free: 11.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.601, allocations: 7.312 kB / 1.592 GB, free: 11.94 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/1.601, allocations: 11.06 kB / 1.592 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/1.602, allocations: 93.17 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.602, allocations: 4 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.602, allocations: 0 / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/1.602, allocations: 0 / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/1.602, allocations: 99.34 kB / 1.592 GB, free: 11.79 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.603, allocations: 476.6 kB / 1.592 GB, free: 11.35 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/1.603, allocations: 98.5 kB / 1.592 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/1.603, allocations: 52.55 kB / 1.592 GB, free: 11.23 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/1.605, allocations: 0.9827 MB / 1.593 GB, free: 10.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/1.605, allocations: 30.56 kB / 1.593 GB, free: 10.13 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/1.605, allocations: 0 / 1.593 GB, free: 10.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.0002707/1.605, allocations: 116.6 kB / 1.594 GB, free: 10.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.605, allocations: 51.41 kB / 1.594 GB, free: 9.969 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.605, allocations: 151 kB / 1.594 GB, free: 9.832 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.605, allocations: 28.95 kB / 1.594 GB, free: 9.801 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/1.605, allocations: 102.6 kB / 1.594 GB, free: 9.703 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/1.605, allocations: 42.02 kB / 1.594 GB, free: 9.668 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/1.605, allocations: 7.688 kB / 1.594 GB, free: 9.664 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.605, allocations: 321.2 kB / 1.594 GB, free: 9.348 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/1.605, allocations: 51.11 kB / 1.594 GB, free: 9.312 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/1.606, allocations: 88.22 kB / 1.594 GB, free: 9.238 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/1.606, allocations: 57.78 kB / 1.594 GB, free: 9.199 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.606, allocations: 3.938 kB / 1.594 GB, free: 9.195 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003457/1.606, allocations: 198 kB / 1.595 GB, free: 9.039 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.606, allocations: 8.094 kB / 1.595 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.606, allocations: 0 / 1.595 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.606, allocations: 7.938 kB / 1.595 GB, free: 9.023 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/1.606, allocations: 63.14 kB / 1.595 GB, free: 8.965 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.606, allocations: 4 kB / 1.595 GB, free: 8.961 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/1.607, allocations: 35.27 kB / 1.595 GB, free: 8.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/1.607, allocations: 4.625 kB / 1.595 GB, free: 8.926 MB / 1.01 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 () * 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 9.124e-05/1.607, allocations: 116 kB / 1.595 GB, free: 8.812 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/1.607, allocations: 15.77 kB / 1.595 GB, free: 8.797 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/1.607, allocations: 133.1 kB / 1.595 GB, free: 8.688 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.607, allocations: 0 / 1.595 GB, free: 8.688 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.607, allocations: 0 / 1.595 GB, free: 8.688 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.607, allocations: 0 / 1.595 GB, free: 8.688 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/1.607, allocations: 219.8 kB / 1.595 GB, free: 8.445 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.607, allocations: 3.938 kB / 1.595 GB, free: 8.441 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/1.608, allocations: 39.59 kB / 1.595 GB, free: 8.406 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.608, allocations: 3.984 kB / 1.595 GB, free: 8.402 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.608, allocations: 7.953 kB / 1.595 GB, free: 8.395 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.608, allocations: 0 / 1.595 GB, free: 8.395 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.608, allocations: 0 / 1.595 GB, free: 8.395 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/1.608, allocations: 208.7 kB / 1.595 GB, free: 8.199 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/1.608, allocations: 88.92 kB / 1.596 GB, free: 8.094 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.608, allocations: 0 / 1.596 GB, free: 8.094 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.608, allocations: 23.62 kB / 1.596 GB, free: 8.074 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/1.608, allocations: 7.984 kB / 1.596 GB, free: 8.066 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.608, allocations: 7.984 kB / 1.596 GB, free: 8.059 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.989e-05/1.608, allocations: 114 kB / 1.596 GB, free: 7.957 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/1.608, allocations: 0 / 1.596 GB, free: 7.957 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000347/1.609, allocations: 67.12 kB / 1.596 GB, free: 7.898 MB / 1.01 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 () * 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.0007498/1.609, allocations: 0.8217 MB / 1.597 GB, free: 7.082 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002501/1.61, allocations: 129.3 kB / 1.597 GB, free: 6.992 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.61, allocations: 0 / 1.597 GB, free: 6.992 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/1.61, allocations: 46.44 kB / 1.597 GB, free: 6.957 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/1.61, allocations: 23.28 kB / 1.597 GB, free: 6.941 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/1.611, allocations: 213 kB / 1.597 GB, free: 6.723 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.611, allocations: 0.7128 MB / 1.598 GB, free: 5.984 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001079/1.611, allocations: 21.14 kB / 1.598 GB, free: 5.965 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/1.611, allocations: 33.55 kB / 1.598 GB, free: 5.945 MB / 1.01 GB Notification: Performance of SimCode: time 3.11e-07/1.611, allocations: 0 / 1.598 GB, free: 5.945 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/1.63, allocations: 4.278 MB / 1.602 GB, free: 1.855 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.63, allocations: 170.4 kB / 1.602 GB, free: 1.637 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/3.504, allocations: 0 / 1.602 GB, free: 1.637 MB / 1.01 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