Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.291/2.291, 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.001345/0.001345, allocations: 183.3 kB / 498.1 MB, free: 5.734 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.578/1.578, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008899/0.0008899, allocations: 98.3 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2327, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9282/1.161, allocations: 426.1 MB / 1.639 GB, free: 1.953 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.161, allocations: 104.6 kB / 1.639 GB, free: 1.898 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.534/3.695, allocations: 0.8159 GB / 2.455 GB, free: 216.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.433e-06/3.695, allocations: 0 / 2.455 GB, free: 216.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001834/3.695, allocations: 64.17 kB / 2.455 GB, free: 216.5 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004554/3.7, allocations: 2.574 MB / 2.458 GB, free: 215.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/3.7, allocations: 10.53 kB / 2.458 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/3.7, allocations: 202 kB / 2.458 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005659/3.701, allocations: 268.1 kB / 2.458 GB, free: 215.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04271/3.743, allocations: 24.86 MB / 2.482 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/3.743, allocations: 104.3 kB / 2.482 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/3.744, allocations: 147.1 kB / 2.483 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/3.746, allocations: 1.487 MB / 2.484 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/3.746, allocations: 0 / 2.484 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/3.746, allocations: 61.97 kB / 2.484 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/3.746, allocations: 43.09 kB / 2.484 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/3.748, allocations: 1.113 MB / 2.485 GB, free: 213.9 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.006458/3.754, allocations: 7.559 MB / 2.493 GB, free: 209.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/3.755, allocations: 0.5175 MB / 2.493 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/3.756, allocations: 1.158 MB / 2.494 GB, free: 208.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/3.756, allocations: 45.28 kB / 2.494 GB, free: 208.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 2.295e-06/3.756, allocations: 1.969 kB / 2.494 GB, free: 208.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.001883/3.758, allocations: 1.041 MB / 2.495 GB, free: 208.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/3.758, allocations: 55.84 kB / 2.495 GB, free: 208.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/3.759, allocations: 1.546 MB / 2.497 GB, free: 207.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/3.759, allocations: 41.8 kB / 2.497 GB, free: 207.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/3.76, allocations: 0.9479 MB / 2.498 GB, free: 207.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/3.76, allocations: 219.2 kB / 2.498 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/3.76, allocations: 18.31 kB / 2.498 GB, free: 207.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/3.76, allocations: 339.4 kB / 2.498 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/3.761, allocations: 305.3 kB / 2.499 GB, free: 207.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/3.761, allocations: 0.679 MB / 2.499 GB, free: 206.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/3.762, allocations: 424.3 kB / 2.5 GB, free: 206.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/3.762, allocations: 0 / 2.5 GB, free: 206.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001647/3.764, allocations: 1.133 MB / 2.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/3.764, allocations: 11.25 kB / 2.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/3.764, allocations: 7.812 kB / 2.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/3.764, allocations: 16.47 kB / 2.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/3.764, allocations: 234.7 kB / 2.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/3.764, allocations: 20.19 kB / 2.501 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.766, allocations: 237 kB / 2.501 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/3.766, allocations: 55.42 kB / 2.501 GB, free: 206.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (111): * Single equations (assignments): 111 * 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.0006361/3.767, allocations: 430.3 kB / 2.502 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/3.767, allocations: 193.5 kB / 2.502 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/3.768, allocations: 0.9339 MB / 2.503 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/3.768, allocations: 3.781 kB / 2.503 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/3.768, allocations: 0 / 2.503 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/3.769, allocations: 0.8527 MB / 2.504 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/3.773, allocations: 2.519 MB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/3.773, allocations: 3.938 kB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/3.774, allocations: 180 kB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/3.774, allocations: 6.188 kB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/3.774, allocations: 18.53 kB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/3.774, allocations: 6.344 kB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/3.774, allocations: 7.156 kB / 2.506 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/3.776, allocations: 1.594 MB / 2.508 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006755/3.776, allocations: 400.7 kB / 2.508 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/3.777, allocations: 19.09 kB / 2.508 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/3.778, allocations: 133.3 kB / 2.509 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/3.778, allocations: 52.3 kB / 2.509 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/3.778, allocations: 32.67 kB / 2.509 GB, free: 204.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001368/3.779, allocations: 1.226 MB / 2.51 GB, free: 204.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/3.779, allocations: 3.75 kB / 2.51 GB, free: 204.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001765/3.781, allocations: 0.6923 MB / 2.51 GB, free: 204.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003625/3.785, allocations: 3.492 MB / 2.514 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001426/3.786, allocations: 0.7918 MB / 2.515 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.786, allocations: 0 / 2.515 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/3.787, allocations: 390.2 kB / 2.515 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/3.792, allocations: 1.244 MB / 2.516 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/3.811, allocations: 17.8 MB / 2.534 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/3.811, allocations: 1.449 MB / 2.535 GB, free: 190.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001753/3.813, allocations: 390.5 kB / 2.535 GB, free: 190.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008504/3.814, allocations: 0.7628 MB / 2.536 GB, free: 190.6 MB / 1.167 GB Notification: Performance of SimCode: time 9.31e-07/3.814, allocations: 0 / 2.536 GB, free: 190.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08589/3.9, allocations: 63.14 MB / 2.598 GB, free: 164.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/3.9, allocations: 232.3 kB / 2.598 GB, free: 163.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.774/7.674, allocations: 0 / 2.598 GB, free: 163.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat