Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.593/2.593, allocations: 390.5 MB / 398 MB, free: 10.92 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.00107/0.001069, allocations: 184.3 kB / 491.2 MB, free: 1.547 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.559/1.559, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.000994/0.0009937, allocations: 87.95 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.828e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.588, allocations: 373.4 MB / 1.577 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.588, allocations: 85.69 kB / 1.577 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03201/1.62, allocations: 14.09 MB / 1.591 GB, free: 12.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.264e-06/1.621, allocations: 0 / 1.591 GB, free: 12.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.621, allocations: 4 kB / 1.591 GB, free: 12.91 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.0008327/1.621, allocations: 464.9 kB / 1.591 GB, free: 12.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.621, allocations: 12.03 kB / 1.591 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/1.622, allocations: 15.77 kB / 1.591 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/1.622, allocations: 180.1 kB / 1.592 GB, free: 12.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.622, allocations: 4 kB / 1.592 GB, free: 12.18 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.622, allocations: 4 kB / 1.592 GB, free: 12.17 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002149/1.622, allocations: 90.66 kB / 1.592 GB, free: 12.11 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/1.622, allocations: 82.67 kB / 1.592 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.622, allocations: 4 kB / 1.592 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.622, allocations: 0 / 1.592 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.622, allocations: 3.938 kB / 1.592 GB, free: 12.04 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/1.623, allocations: 438.8 kB / 1.592 GB, free: 11.63 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/1.623, allocations: 96.94 kB / 1.592 GB, free: 11.55 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/1.623, allocations: 45.05 kB / 1.592 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.625, allocations: 0.977 MB / 1.593 GB, free: 10.46 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.625, allocations: 34.56 kB / 1.593 GB, free: 10.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/1.625, allocations: 0 / 1.593 GB, free: 10.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.000485/1.625, allocations: 128.2 kB / 1.593 GB, free: 10.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/1.625, allocations: 51.41 kB / 1.593 GB, free: 10.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.626, allocations: 147.1 kB / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/1.626, allocations: 29.64 kB / 1.594 GB, free: 10.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/1.626, allocations: 105.8 kB / 1.594 GB, free: 9.977 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/1.626, allocations: 42.77 kB / 1.594 GB, free: 9.938 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/1.626, allocations: 0 / 1.594 GB, free: 9.938 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.626, allocations: 324.1 kB / 1.594 GB, free: 9.617 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/1.626, allocations: 47.12 kB / 1.594 GB, free: 9.59 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.626, allocations: 77.2 kB / 1.594 GB, free: 9.523 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/1.627, allocations: 126.3 kB / 1.594 GB, free: 9.426 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.627, allocations: 4 kB / 1.594 GB, free: 9.422 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006535/1.627, allocations: 246.3 kB / 1.595 GB, free: 9.223 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.627, allocations: 9.516 kB / 1.595 GB, free: 9.215 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.627, allocations: 4 kB / 1.595 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.627, allocations: 0 / 1.595 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/1.628, allocations: 64 kB / 1.595 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.628, allocations: 0 / 1.595 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/1.628, allocations: 35.72 kB / 1.595 GB, free: 9.113 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/1.628, allocations: 11.95 kB / 1.595 GB, free: 9.105 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 0.0001003/1.628, allocations: 105.8 kB / 1.595 GB, free: 8.996 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003315/1.628, allocations: 132.6 kB / 1.595 GB, free: 8.883 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/1.628, allocations: 19.84 kB / 1.595 GB, free: 8.863 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/1.629, allocations: 151.5 kB / 1.595 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.629, allocations: 0 / 1.595 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.629, allocations: 0 / 1.595 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.629, allocations: 0 / 1.595 GB, free: 8.746 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/1.629, allocations: 191.7 kB / 1.595 GB, free: 8.539 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/1.629, allocations: 0 / 1.595 GB, free: 8.539 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/1.629, allocations: 47.91 kB / 1.595 GB, free: 8.492 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.629, allocations: 3.953 kB / 1.595 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.629, allocations: 0 / 1.595 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.629, allocations: 0 / 1.595 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.629, allocations: 0 / 1.595 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/1.63, allocations: 227.7 kB / 1.596 GB, free: 8.277 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/1.63, allocations: 88.92 kB / 1.596 GB, free: 8.172 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/1.63, allocations: 3.953 kB / 1.596 GB, free: 8.168 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.63, allocations: 23.97 kB / 1.596 GB, free: 8.145 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/1.63, allocations: 7.984 kB / 1.596 GB, free: 8.137 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/1.63, allocations: 0 / 1.596 GB, free: 8.137 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.619e-05/1.63, allocations: 119.1 kB / 1.596 GB, free: 8.031 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.903e-06/1.63, allocations: 0 / 1.596 GB, free: 8.031 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003193/1.63, allocations: 63.25 kB / 1.596 GB, free: 7.973 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.0008592/1.631, allocations: 0.8365 MB / 1.597 GB, free: 7.137 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002353/1.631, allocations: 117.8 kB / 1.597 GB, free: 7.055 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.631, allocations: 0 / 1.597 GB, free: 7.055 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/1.632, allocations: 34.88 kB / 1.597 GB, free: 7.031 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/1.632, allocations: 23.31 kB / 1.597 GB, free: 7.012 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/1.632, allocations: 204.9 kB / 1.597 GB, free: 6.789 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/1.633, allocations: 0.7045 MB / 1.598 GB, free: 6.059 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001093/1.633, allocations: 29.06 kB / 1.598 GB, free: 6.023 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/1.633, allocations: 32.94 kB / 1.598 GB, free: 6.012 MB / 1.01 GB Notification: Performance of SimCode: time 2.6e-07/1.633, allocations: 0 / 1.598 GB, free: 6.012 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/1.657, allocations: 3.632 MB / 1.601 GB, free: 2.41 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.657, allocations: 170.9 kB / 1.601 GB, free: 2.215 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/3.545, allocations: 0 / 1.601 GB, free: 2.215 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat