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.215/2.215, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001533/0.001533, allocations: 172.8 kB / 487.4 MB, free: 5.035 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.693/1.693, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 101.6 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.798e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2777, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.553, allocations: 425.4 MB / 1.621 GB, free: 13.08 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.554, allocations: 92.08 kB / 1.622 GB, free: 13.04 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.121/4.674, allocations: 0.8089 GB / 2.431 GB, free: 205.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/4.674, allocations: 2.219 kB / 2.431 GB, free: 205.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001978/4.674, allocations: 59.61 kB / 2.431 GB, free: 205.9 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.004381/4.679, allocations: 2.158 MB / 2.433 GB, free: 203.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/4.679, allocations: 8.031 kB / 2.433 GB, free: 203.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008647/4.68, allocations: 268.3 kB / 2.433 GB, free: 203.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04519/4.725, allocations: 24.66 MB / 2.457 GB, free: 179.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/4.725, allocations: 47.44 kB / 2.457 GB, free: 179 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/4.725, allocations: 84 kB / 2.457 GB, free: 179 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001712/4.727, allocations: 0.8606 MB / 2.458 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/4.729, allocations: 1.204 MB / 2.459 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/4.729, allocations: 0 / 2.459 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/4.729, allocations: 9.672 kB / 2.459 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/4.729, allocations: 43.92 kB / 2.459 GB, free: 176.8 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.007819/4.737, allocations: 7.253 MB / 2.466 GB, free: 169.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/4.738, allocations: 425.8 kB / 2.467 GB, free: 168.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/4.738, allocations: 262.5 kB / 2.467 GB, free: 168.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/4.739, allocations: 1.157 MB / 2.468 GB, free: 167 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/4.739, allocations: 47.05 kB / 2.468 GB, free: 166.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.745e-06/4.739, allocations: 4 kB / 2.468 GB, free: 166.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001506/4.74, allocations: 0.6173 MB / 2.469 GB, free: 166.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/4.74, allocations: 66.2 kB / 2.469 GB, free: 166.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/4.742, allocations: 1.198 MB / 2.47 GB, free: 165 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/4.742, allocations: 25.7 kB / 2.47 GB, free: 165 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/4.743, allocations: 0.9494 MB / 2.471 GB, free: 164 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/4.743, allocations: 209 kB / 2.471 GB, free: 163.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/4.743, allocations: 2.438 kB / 2.471 GB, free: 163.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001151/4.743, allocations: 338 kB / 2.471 GB, free: 163.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/4.743, allocations: 218.6 kB / 2.472 GB, free: 163.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/4.744, allocations: 0.5771 MB / 2.472 GB, free: 162.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/4.744, allocations: 355.6 kB / 2.473 GB, free: 162.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/4.744, allocations: 11.14 kB / 2.473 GB, free: 162.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001452/4.746, allocations: 0.8883 MB / 2.473 GB, free: 161.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/4.746, allocations: 15.91 kB / 2.473 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/4.746, allocations: 8 kB / 2.473 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-05/4.746, allocations: 19.94 kB / 2.473 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/4.747, allocations: 234.6 kB / 2.474 GB, free: 161.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/4.747, allocations: 19.92 kB / 2.474 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/4.748, allocations: 167.9 kB / 2.474 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/4.748, allocations: 51.98 kB / 2.474 GB, free: 160.8 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.0001977/4.749, allocations: 138 kB / 2.474 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009822/4.75, allocations: 0.6141 MB / 2.475 GB, free: 160.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/4.75, allocations: 165.9 kB / 2.475 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/4.751, allocations: 0.7252 MB / 2.476 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/4.751, allocations: 8 kB / 2.476 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/4.751, allocations: 3 kB / 2.476 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008844/4.752, allocations: 0.6863 MB / 2.476 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004255/4.757, allocations: 2.155 MB / 2.478 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/4.757, allocations: 3.938 kB / 2.478 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/4.757, allocations: 174.2 kB / 2.478 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/4.757, allocations: 10.19 kB / 2.478 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/4.757, allocations: 11.98 kB / 2.478 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/4.757, allocations: 4 kB / 2.478 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/4.757, allocations: 11.89 kB / 2.479 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/4.759, allocations: 1.283 MB / 2.48 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/4.76, allocations: 382.6 kB / 2.48 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/4.76, allocations: 6.688 kB / 2.48 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/4.761, allocations: 108 kB / 2.48 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/4.761, allocations: 44.5 kB / 2.48 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/4.761, allocations: 38.72 kB / 2.48 GB, free: 154.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001053/4.762, allocations: 0.9034 MB / 2.481 GB, free: 153.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.352e-06/4.762, allocations: 0 / 2.481 GB, free: 153.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002277/4.764, allocations: 0.7048 MB / 2.482 GB, free: 152.5 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.003052/4.767, allocations: 3.219 MB / 2.485 GB, free: 149.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000873/4.768, allocations: 0.6045 MB / 2.486 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/4.768, allocations: 0 / 2.486 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/4.769, allocations: 298.7 kB / 2.486 GB, free: 148.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/4.773, allocations: 0.9553 MB / 2.487 GB, free: 147.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/4.778, allocations: 2.728 MB / 2.49 GB, free: 144.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/4.779, allocations: 1.45 MB / 2.491 GB, free: 143.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001361/4.78, allocations: 337.3 kB / 2.491 GB, free: 143 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/4.781, allocations: 0.7531 MB / 2.492 GB, free: 142.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/4.781, allocations: 3.062 kB / 2.492 GB, free: 142.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/4.861, allocations: 48.5 MB / 2.539 GB, free: 94.62 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/4.861, allocations: 180 kB / 2.54 GB, free: 94.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.818/8.679, allocations: 0 / 2.54 GB, free: 94.43 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