Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.456/2.456, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001281/0.00128, allocations: 183.3 kB / 0.4901 GB, free: 2.227 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.653/1.653, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.001223/0.001223, allocations: 98.44 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 13.44 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2946, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.413, allocations: 420.6 MB / 1.64 GB, free: 5.18 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.414, allocations: 99.44 kB / 1.64 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.741/3.154, allocations: 445.6 MB / 2.075 GB, free: 236.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/3.155, allocations: 0 / 2.075 GB, free: 236.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001875/3.155, allocations: 31.92 kB / 2.075 GB, free: 236.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.004389/3.159, allocations: 1.461 MB / 2.077 GB, free: 234.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/3.159, allocations: 12.03 kB / 2.077 GB, free: 234.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003225/3.16, allocations: 114.5 kB / 2.077 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/3.16, allocations: 138.5 kB / 2.077 GB, free: 234.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02655/3.187, allocations: 13.05 MB / 2.09 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/3.187, allocations: 54 kB / 2.09 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/3.187, allocations: 79.98 kB / 2.09 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/3.189, allocations: 0.7671 MB / 2.091 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/3.189, allocations: 3.984 kB / 2.091 GB, free: 220.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/3.189, allocations: 35.95 kB / 2.091 GB, free: 220.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/3.189, allocations: 19.94 kB / 2.091 GB, free: 220.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/3.191, allocations: 0.5556 MB / 2.091 GB, free: 219.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.005142/3.196, allocations: 3.559 MB / 2.095 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/3.196, allocations: 381.1 kB / 2.095 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/3.197, allocations: 0.657 MB / 2.096 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/3.197, allocations: 38.56 kB / 2.096 GB, free: 214.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 3.677e-06/3.197, allocations: 0 / 2.096 GB, free: 214.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001345/3.198, allocations: 0.567 MB / 2.096 GB, free: 213.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/3.198, allocations: 55.41 kB / 2.096 GB, free: 213.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/3.2, allocations: 0.8231 MB / 2.097 GB, free: 213 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/3.2, allocations: 33.7 kB / 2.097 GB, free: 213 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/3.2, allocations: 0.4957 MB / 2.098 GB, free: 212.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/3.2, allocations: 114.4 kB / 2.098 GB, free: 212.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/3.2, allocations: 8 kB / 2.098 GB, free: 212.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/3.2, allocations: 326 kB / 2.098 GB, free: 212 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/3.201, allocations: 161 kB / 2.098 GB, free: 211.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/3.201, allocations: 371.2 kB / 2.099 GB, free: 211.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/3.202, allocations: 227.6 kB / 2.099 GB, free: 211.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/3.202, allocations: 4 kB / 2.099 GB, free: 211.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001087/3.203, allocations: 0.5978 MB / 2.099 GB, free: 210.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/3.203, allocations: 4.625 kB / 2.099 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/3.203, allocations: 8 kB / 2.099 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/3.203, allocations: 8 kB / 2.099 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/3.203, allocations: 119.8 kB / 2.099 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/3.203, allocations: 15.92 kB / 2.1 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009646/3.204, allocations: 111.4 kB / 2.1 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/3.204, allocations: 27.98 kB / 2.1 GB, free: 210.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.0004649/3.205, allocations: 273.6 kB / 2.1 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/3.205, allocations: 106.7 kB / 2.1 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009201/3.206, allocations: 0.5116 MB / 2.1 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/3.206, allocations: 8 kB / 2.101 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/3.206, allocations: 0 / 2.101 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006211/3.207, allocations: 482.7 kB / 2.101 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/3.209, allocations: 1.46 MB / 2.102 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/3.209, allocations: 7.938 kB / 2.102 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/3.209, allocations: 84.05 kB / 2.102 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/3.209, allocations: 4 kB / 2.102 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/3.209, allocations: 8 kB / 2.102 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/3.209, allocations: 7.938 kB / 2.102 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/3.209, allocations: 3.984 kB / 2.103 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/3.21, allocations: 0.8817 MB / 2.103 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/3.211, allocations: 251.6 kB / 2.104 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/3.211, allocations: 11.98 kB / 2.104 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/3.212, allocations: 59.95 kB / 2.104 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/3.212, allocations: 23.97 kB / 2.104 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/3.212, allocations: 15.98 kB / 2.104 GB, free: 205.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008062/3.213, allocations: 0.6549 MB / 2.104 GB, free: 205.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/3.213, allocations: 4 kB / 2.104 GB, free: 205.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001312/3.214, allocations: 363.4 kB / 2.105 GB, free: 204.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.002677/3.217, allocations: 2.23 MB / 2.107 GB, free: 202.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008053/3.217, allocations: 424.6 kB / 2.107 GB, free: 202.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/3.217, allocations: 448 / 2.107 GB, free: 202.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/3.218, allocations: 209.2 kB / 2.107 GB, free: 202 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/3.22, allocations: 0.597 MB / 2.108 GB, free: 201.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009904/3.23, allocations: 8.8 MB / 2.117 GB, free: 192.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/3.231, allocations: 1.056 MB / 2.118 GB, free: 191.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00117/3.232, allocations: 210.3 kB / 2.118 GB, free: 191 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/3.233, allocations: 375.3 kB / 2.118 GB, free: 190.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.053e-06/3.233, allocations: 0 / 2.118 GB, free: 190.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05985/3.293, allocations: 32.6 MB / 2.15 GB, free: 158.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/3.293, allocations: 245.3 kB / 2.15 GB, free: 158.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/6.475, allocations: 0 / 2.15 GB, free: 158.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat