Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.191/2.191, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001098/0.001098, allocations: 183.3 kB / 498.1 MB, free: 5.746 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.442/1.442, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009452/0.0009452, allocations: 98.73 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003424, allocations: 9.375 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2334, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9273/1.161, allocations: 419.8 MB / 1.633 GB, free: 8.641 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.161, allocations: 103.6 kB / 1.633 GB, free: 8.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.346/2.507, allocations: 445.6 MB / 2.068 GB, free: 269.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.495e-06/2.507, allocations: 0 / 2.068 GB, free: 269.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.584e-05/2.507, allocations: 35.98 kB / 2.068 GB, free: 269.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002622/2.51, allocations: 1.457 MB / 2.07 GB, free: 267.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/2.51, allocations: 12.03 kB / 2.07 GB, free: 267.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/2.51, allocations: 118.5 kB / 2.07 GB, free: 267.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/2.51, allocations: 126.6 kB / 2.07 GB, free: 267.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02183/2.532, allocations: 13.05 MB / 2.083 GB, free: 254.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/2.532, allocations: 54 kB / 2.083 GB, free: 254.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/2.532, allocations: 76 kB / 2.083 GB, free: 254 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/2.534, allocations: 0.7759 MB / 2.083 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/2.534, allocations: 0 / 2.083 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/2.534, allocations: 32 kB / 2.083 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/2.534, allocations: 19.95 kB / 2.083 GB, free: 253.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008902/2.535, allocations: 0.5633 MB / 2.084 GB, free: 252.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/2.538, allocations: 3.548 MB / 2.088 GB, free: 248.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/2.538, allocations: 368.6 kB / 2.088 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003355/2.539, allocations: 0.6609 MB / 2.089 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/2.539, allocations: 38.56 kB / 2.089 GB, free: 247.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.195e-06/2.539, allocations: 0 / 2.089 GB, free: 247.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.0009644/2.54, allocations: 0.567 MB / 2.089 GB, free: 247 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/2.54, allocations: 59.39 kB / 2.089 GB, free: 246.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/2.54, allocations: 0.8231 MB / 2.09 GB, free: 246.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/2.54, allocations: 33.7 kB / 2.09 GB, free: 246 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/2.541, allocations: 0.4918 MB / 2.09 GB, free: 245.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/2.541, allocations: 122.4 kB / 2.091 GB, free: 245.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/2.541, allocations: 11.94 kB / 2.091 GB, free: 245.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/2.541, allocations: 326 kB / 2.091 GB, free: 245.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/2.541, allocations: 161 kB / 2.091 GB, free: 244.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/2.542, allocations: 371.4 kB / 2.091 GB, free: 244.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/2.542, allocations: 223.9 kB / 2.092 GB, free: 244.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/2.542, allocations: 0 / 2.092 GB, free: 244.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008432/2.543, allocations: 0.6014 MB / 2.092 GB, free: 243.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/2.543, allocations: 11.95 kB / 2.092 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/2.543, allocations: 7.984 kB / 2.092 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/2.543, allocations: 11.94 kB / 2.092 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/2.543, allocations: 119.8 kB / 2.092 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/2.543, allocations: 11.94 kB / 2.092 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/2.544, allocations: 111.5 kB / 2.092 GB, free: 243.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/2.544, allocations: 31.98 kB / 2.093 GB, free: 243.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 57 * 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.000284/2.544, allocations: 269.6 kB / 2.093 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/2.544, allocations: 106.8 kB / 2.093 GB, free: 242.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008124/2.545, allocations: 0.5235 MB / 2.093 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/2.545, allocations: 4 kB / 2.093 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/2.545, allocations: 7.984 kB / 2.093 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005856/2.546, allocations: 485.2 kB / 2.094 GB, free: 241.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/2.547, allocations: 1.449 MB / 2.095 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.547, allocations: 4 kB / 2.095 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/2.548, allocations: 80.05 kB / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/2.548, allocations: 4 kB / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/2.548, allocations: 11.98 kB / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/2.548, allocations: 4 kB / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.548, allocations: 3.938 kB / 2.095 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/2.549, allocations: 0.8882 MB / 2.096 GB, free: 239.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/2.549, allocations: 243.7 kB / 2.096 GB, free: 239.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/2.549, allocations: 12 kB / 2.096 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/2.55, allocations: 55.95 kB / 2.097 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/2.55, allocations: 31.89 kB / 2.097 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/2.55, allocations: 15.98 kB / 2.097 GB, free: 238.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006337/2.551, allocations: 0.6627 MB / 2.097 GB, free: 238.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/2.551, allocations: 0 / 2.097 GB, free: 238.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009012/2.551, allocations: 371.4 kB / 2.098 GB, free: 237.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001914/2.553, allocations: 2.22 MB / 2.1 GB, free: 235.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007008/2.554, allocations: 424.3 kB / 2.1 GB, free: 235.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.554, allocations: 4.188 kB / 2.1 GB, free: 235.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/2.554, allocations: 200 kB / 2.1 GB, free: 235 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/2.557, allocations: 0.6114 MB / 2.101 GB, free: 234.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/2.564, allocations: 8.796 MB / 2.11 GB, free: 225.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/2.564, allocations: 1.06 MB / 2.111 GB, free: 224.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000709/2.565, allocations: 204.5 kB / 2.111 GB, free: 224 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/2.565, allocations: 371.3 kB / 2.111 GB, free: 223.7 MB / 1.167 GB Notification: Performance of SimCode: time 5.71e-07/2.565, allocations: 0 / 2.111 GB, free: 223.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04173/2.607, allocations: 32.61 MB / 2.143 GB, free: 191.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001238/2.607, allocations: 235 kB / 2.143 GB, free: 191.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/5.376, allocations: 0 / 2.143 GB, free: 191.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat