Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.474/2.474, allocations: 390.5 MB / 398 MB, free: 10.96 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.001861/0.001862, allocations: 176.8 kB / 491.2 MB, free: 1.559 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.728/1.728, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001008/0.001008, allocations: 79.97 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.856e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2679, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.454, allocations: 426.2 MB / 1.629 GB, free: 4.363 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.454, allocations: 92.91 kB / 1.629 GB, free: 4.316 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.743/4.197, allocations: 0.8089 GB / 2.438 GB, free: 190.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.765e-06/4.197, allocations: 0 / 2.438 GB, free: 190.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001995/4.198, allocations: 59.62 kB / 2.438 GB, free: 190.2 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.004191/4.202, allocations: 2.16 MB / 2.44 GB, free: 188 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/4.202, allocations: 12.03 kB / 2.44 GB, free: 188 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/4.203, allocations: 270.2 kB / 2.44 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04543/4.248, allocations: 24.64 MB / 2.464 GB, free: 163.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/4.248, allocations: 44 kB / 2.464 GB, free: 163.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/4.248, allocations: 87.66 kB / 2.464 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001683/4.25, allocations: 0.8645 MB / 2.465 GB, free: 162.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/4.252, allocations: 1.206 MB / 2.466 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/4.252, allocations: 7.938 kB / 2.466 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/4.252, allocations: 0 / 2.466 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/4.252, allocations: 39.09 kB / 2.466 GB, free: 161.1 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.007918/4.26, allocations: 7.266 MB / 2.473 GB, free: 153.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/4.261, allocations: 422.2 kB / 2.474 GB, free: 153 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/4.261, allocations: 267 kB / 2.474 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/4.262, allocations: 1.156 MB / 2.475 GB, free: 151.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/4.262, allocations: 42.38 kB / 2.475 GB, free: 151.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 3.887e-06/4.262, allocations: 0 / 2.475 GB, free: 151.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001471/4.264, allocations: 0.622 MB / 2.476 GB, free: 150.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/4.264, allocations: 55.97 kB / 2.476 GB, free: 150.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/4.265, allocations: 1.202 MB / 2.477 GB, free: 149.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/4.265, allocations: 29.7 kB / 2.477 GB, free: 149.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/4.266, allocations: 0.9485 MB / 2.478 GB, free: 148.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/4.266, allocations: 212.9 kB / 2.478 GB, free: 148.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/4.266, allocations: 0 / 2.478 GB, free: 148.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001172/4.266, allocations: 344.3 kB / 2.479 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/4.266, allocations: 210.6 kB / 2.479 GB, free: 147.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/4.267, allocations: 0.5848 MB / 2.479 GB, free: 146.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/4.267, allocations: 352.6 kB / 2.48 GB, free: 146.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/4.267, allocations: 7.953 kB / 2.48 GB, free: 146.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00132/4.269, allocations: 0.892 MB / 2.481 GB, free: 145.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/4.269, allocations: 8.625 kB / 2.481 GB, free: 145.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/4.269, allocations: 15.94 kB / 2.481 GB, free: 145.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/4.269, allocations: 16 kB / 2.481 GB, free: 145.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/4.269, allocations: 227.6 kB / 2.481 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/4.27, allocations: 24.06 kB / 2.481 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/4.271, allocations: 166.9 kB / 2.481 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/4.271, allocations: 51.98 kB / 2.481 GB, free: 145.1 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.0001565/4.271, allocations: 132.7 kB / 2.481 GB, free: 145 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009361/4.272, allocations: 0.6141 MB / 2.482 GB, free: 144.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/4.272, allocations: 165.9 kB / 2.482 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/4.274, allocations: 0.738 MB / 2.483 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/4.274, allocations: 8 kB / 2.483 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/4.274, allocations: 0 / 2.483 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008001/4.274, allocations: 0.6786 MB / 2.483 GB, free: 142.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/4.278, allocations: 2.158 MB / 2.485 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/4.278, allocations: 5.969 kB / 2.485 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/4.278, allocations: 179.4 kB / 2.486 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/4.278, allocations: 4 kB / 2.486 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/4.278, allocations: 16 kB / 2.486 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/4.278, allocations: 11.89 kB / 2.486 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/4.279, allocations: 4 kB / 2.486 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/4.28, allocations: 1.295 MB / 2.487 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/4.281, allocations: 366.8 kB / 2.487 GB, free: 138.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/4.281, allocations: 0 / 2.487 GB, free: 138.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/4.282, allocations: 111.7 kB / 2.487 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/4.282, allocations: 52.48 kB / 2.487 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/4.282, allocations: 43.97 kB / 2.487 GB, free: 138.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001116/4.283, allocations: 0.8956 MB / 2.488 GB, free: 137.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.283, allocations: 0 / 2.488 GB, free: 137.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002316/4.286, allocations: 0.7042 MB / 2.489 GB, free: 136.8 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.003218/4.289, allocations: 3.22 MB / 2.492 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009292/4.29, allocations: 0.5995 MB / 2.493 GB, free: 133 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/4.29, allocations: 3.938 kB / 2.493 GB, free: 133 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/4.29, allocations: 304.1 kB / 2.493 GB, free: 132.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/4.295, allocations: 0.954 MB / 2.494 GB, free: 131.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/4.3, allocations: 2.744 MB / 2.497 GB, free: 129 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/4.301, allocations: 1.442 MB / 2.498 GB, free: 127.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001471/4.302, allocations: 343.1 kB / 2.498 GB, free: 127.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/4.303, allocations: 0.7414 MB / 2.499 GB, free: 126.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/4.303, allocations: 0 / 2.499 GB, free: 126.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08304/4.386, allocations: 48.48 MB / 2.546 GB, free: 78.61 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/4.386, allocations: 190 kB / 2.547 GB, free: 78.41 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.851/8.237, allocations: 4 kB / 2.547 GB, free: 78.41 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat