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.268/2.268, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001005/0.001005, allocations: 171.9 kB / 492.3 MB, free: 0.6289 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.533/1.533, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009603/0.0009604, allocations: 103.9 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.962e-05/6.013e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.55, allocations: 426.1 MB / 1.629 GB, free: 4.414 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.551, allocations: 89.02 kB / 1.629 GB, free: 4.371 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497/5.048, allocations: 0.8136 GB / 2.442 GB, free: 188.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.707e-06/5.048, allocations: 0 / 2.442 GB, free: 188.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006334/5.049, allocations: 58.56 kB / 2.442 GB, free: 188.1 MB / 1.151 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.008782/5.058, allocations: 2.164 MB / 2.444 GB, free: 185.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/5.058, allocations: 12.03 kB / 2.444 GB, free: 185.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009067/5.059, allocations: 198.6 kB / 2.445 GB, free: 185.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/5.061, allocations: 276.8 kB / 2.445 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07377/5.134, allocations: 24.73 MB / 2.469 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/5.135, allocations: 106.7 kB / 2.469 GB, free: 161.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000622/5.135, allocations: 143.9 kB / 2.469 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005215/5.141, allocations: 1.391 MB / 2.471 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/5.141, allocations: 3.938 kB / 2.471 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004125/5.141, allocations: 63.95 kB / 2.471 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/5.141, allocations: 42.2 kB / 2.471 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/5.144, allocations: 0.9472 MB / 2.472 GB, free: 158.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01171/5.156, allocations: 7.56 MB / 2.479 GB, free: 150.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/5.157, allocations: 458.3 kB / 2.48 GB, free: 149.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/5.157, allocations: 282.5 kB / 2.48 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008462/5.158, allocations: 1.164 MB / 2.481 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/5.158, allocations: 41.81 kB / 2.481 GB, free: 148.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 3.376e-06/5.158, allocations: 0 / 2.481 GB, free: 148.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.00177/5.16, allocations: 0.6452 MB / 2.482 GB, free: 147.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/5.16, allocations: 59.97 kB / 2.482 GB, free: 147.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/5.163, allocations: 1.523 MB / 2.483 GB, free: 145.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/5.163, allocations: 45.7 kB / 2.483 GB, free: 145.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/5.164, allocations: 0.9513 MB / 2.484 GB, free: 144.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/5.164, allocations: 209 kB / 2.484 GB, free: 144.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/5.164, allocations: 20 kB / 2.484 GB, free: 144.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001014/5.165, allocations: 337.9 kB / 2.485 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/5.165, allocations: 239.8 kB / 2.485 GB, free: 144 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/5.166, allocations: 0.6094 MB / 2.485 GB, free: 143.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/5.167, allocations: 346.2 kB / 2.486 GB, free: 142.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/5.167, allocations: 4 kB / 2.486 GB, free: 142.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00234/5.169, allocations: 0.9846 MB / 2.487 GB, free: 141.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/5.169, allocations: 8.625 kB / 2.487 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/5.169, allocations: 12 kB / 2.487 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/5.169, allocations: 16.78 kB / 2.487 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/5.17, allocations: 231.6 kB / 2.487 GB, free: 141.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/5.17, allocations: 19.94 kB / 2.487 GB, free: 141.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/5.173, allocations: 242.2 kB / 2.487 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/5.173, allocations: 47.98 kB / 2.487 GB, free: 141.4 MB / 1.151 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 () * 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.0002779/5.173, allocations: 176.5 kB / 2.487 GB, free: 141.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/5.174, allocations: 193.7 kB / 2.488 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/5.176, allocations: 0.787 MB / 2.488 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/5.176, allocations: 15.92 kB / 2.488 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/5.176, allocations: 0 / 2.488 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/5.177, allocations: 0.7017 MB / 2.489 GB, free: 139.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006072/5.183, allocations: 2.381 MB / 2.491 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/5.183, allocations: 0 / 2.491 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009726/5.184, allocations: 184 kB / 2.492 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/5.184, allocations: 4 kB / 2.492 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/5.184, allocations: 19.98 kB / 2.492 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/5.184, allocations: 15.94 kB / 2.492 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.184, allocations: 0 / 2.492 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/5.187, allocations: 1.383 MB / 2.493 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/5.188, allocations: 406.3 kB / 2.493 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/5.189, allocations: 19.98 kB / 2.493 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/5.191, allocations: 127.6 kB / 2.494 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/5.191, allocations: 56.42 kB / 2.494 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/5.191, allocations: 35.98 kB / 2.494 GB, free: 134.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002513/5.193, allocations: 1.21 MB / 2.495 GB, free: 133.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/5.193, allocations: 0 / 2.495 GB, free: 133.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003546/5.197, allocations: 0.6864 MB / 2.495 GB, free: 132.7 MB / 1.151 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 () * 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.004958/5.202, allocations: 3.29 MB / 2.499 GB, free: 129.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001568/5.204, allocations: 0.6499 MB / 2.499 GB, free: 128.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/5.204, allocations: 320 / 2.499 GB, free: 128.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006216/5.204, allocations: 319 kB / 2.5 GB, free: 128.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009919/5.214, allocations: 1.244 MB / 2.501 GB, free: 127.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/5.225, allocations: 2.85 MB / 2.504 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/5.227, allocations: 1.448 MB / 2.505 GB, free: 122.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003365/5.231, allocations: 382.9 kB / 2.505 GB, free: 122.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/5.232, allocations: 0.7717 MB / 2.506 GB, free: 121.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.355e-06/5.232, allocations: 0 / 2.506 GB, free: 121.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1433/5.376, allocations: 63.41 MB / 2.568 GB, free: 58.99 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/5.376, allocations: 204.8 kB / 2.568 GB, free: 58.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/10.32, allocations: 0 / 2.568 GB, free: 58.77 MB / 1.151 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