Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.0009528, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 286.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8873/0.8873, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 99.05 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1579, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06997/0.2279, allocations: 76.65 MB / 0.7544 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.2512, allocations: 18.97 MB / 0.7729 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.2545, allocations: 103.3 kB / 0.773 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.2575, allocations: 1.03 MB / 0.774 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.2985/0.5561, allocations: 3.372 MB / 0.7773 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.5605, allocations: 1.896 MB / 0.7792 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.571, allocations: 8.887 MB / 0.7878 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.5743, allocations: 1.736 MB / 0.7895 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.5787, allocations: 1.934 MB / 0.7914 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.5822, allocations: 1.771 MB / 0.7932 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.5827, allocations: 96.34 kB / 0.7933 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.5868, allocations: 1.468 MB / 0.7947 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005669/0.5873, allocations: 452.2 kB / 0.7951 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.5892, allocations: 1.139 MB / 0.7962 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005903/0.5951, allocations: 3.647 MB / 0.7998 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5951, allocations: 1.344 kB / 0.7998 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5951, allocations: 0.5625 kB / 0.7998 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.941e-05/0.5952, allocations: 0 / 0.7998 GB, free: 6.902 MB / 0.5606 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.005665/0.6009, allocations: 2.712 MB / 0.8024 GB, free: 21.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6009, allocations: 9.781 kB / 0.8025 GB, free: 21.6 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/0.6012, allocations: 202.5 kB / 0.8026 GB, free: 21.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.6022, allocations: 263.6 kB / 0.8029 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.6053, allocations: 1.985 MB / 0.8048 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.6053, allocations: 106.5 kB / 0.8049 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.6056, allocations: 138.7 kB / 0.8051 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.608, allocations: 1.521 MB / 0.8066 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.6081, allocations: 1.125 kB / 0.8066 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.6082, allocations: 61.31 kB / 0.8066 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.6082, allocations: 43.59 kB / 0.8067 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.6103, allocations: 1.123 MB / 0.8078 GB, free: 20.69 MB / 0.5762 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.007913/0.6182, allocations: 7.568 MB / 0.8151 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.6191, allocations: 477.2 kB / 0.8156 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.6197, allocations: 338 kB / 0.8159 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008115/0.6205, allocations: 1.148 MB / 0.817 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.6206, allocations: 45.19 kB / 0.8171 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.295e-06/0.6206, allocations: 3.469 kB / 0.8171 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002125/0.6227, allocations: 0.9647 MB / 0.818 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.6227, allocations: 57.5 kB / 0.8181 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.6247, allocations: 1.758 MB / 0.8198 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.6248, allocations: 43.86 kB / 0.8198 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.6254, allocations: 0.9281 MB / 0.8208 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.6255, allocations: 221.8 kB / 0.821 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.6258, allocations: 230.6 kB / 0.8212 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6259, allocations: 342.7 kB / 0.8215 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/0.6265, allocations: 337.8 kB / 0.8218 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.6273, allocations: 0.6875 MB / 0.8225 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.6286, allocations: 1.01 MB / 0.8235 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.6287, allocations: 2.969 kB / 0.8235 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002116/0.6308, allocations: 1.222 MB / 0.8247 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6308, allocations: 12.73 kB / 0.8247 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6308, allocations: 17.39 kB / 0.8247 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6309, allocations: 14.12 kB / 0.8247 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/0.6317, allocations: 283.5 kB / 0.825 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.6318, allocations: 21.83 kB / 0.825 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6335, allocations: 240.5 kB / 0.8252 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.6336, allocations: 53.47 kB / 0.8253 GB, free: 12.73 MB / 0.5762 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 (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007234/0.6343, allocations: 435.7 kB / 0.8257 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.6346, allocations: 199 kB / 0.8259 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.6362, allocations: 0.8739 MB / 0.8268 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.6362, allocations: 10.56 kB / 0.8268 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6362, allocations: 0 / 0.8268 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.6373, allocations: 0.7943 MB / 0.8275 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.641, allocations: 2.431 MB / 0.8299 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.641, allocations: 2.562 kB / 0.8299 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/0.6417, allocations: 179.7 kB / 0.8301 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6417, allocations: 5.781 kB / 0.8301 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.6417, allocations: 19.88 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.6418, allocations: 2.906 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6418, allocations: 5 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.6438, allocations: 1.332 MB / 0.8314 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.6445, allocations: 370.8 kB / 0.8318 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.6447, allocations: 17.66 kB / 0.8318 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6458, allocations: 112.8 kB / 0.8319 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6459, allocations: 56.73 kB / 0.832 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.646, allocations: 34.05 kB / 0.832 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001514/0.6475, allocations: 1.217 MB / 0.8332 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6476, allocations: 0 / 0.8332 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001799/0.6494, allocations: 0.6362 MB / 0.8338 GB, free: 8.152 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003508/0.6529, allocations: 2.37 MB / 0.8361 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6544, allocations: 0.8189 MB / 0.8369 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6544, allocations: 2 kB / 0.8369 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006413/0.6551, allocations: 352.8 kB / 0.8373 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005303/0.6604, allocations: 1.205 MB / 0.8384 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.6882, allocations: 14.73 MB / 0.8528 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009083/0.6891, allocations: 1.409 MB / 0.8542 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00175/0.6909, allocations: 380 kB / 0.8545 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/0.6918, allocations: 0.7648 MB / 0.8553 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.6918, allocations: 0 / 0.8553 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08425/0.776, allocations: 55.3 MB / 0.9093 GB, free: 160 kB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.7763, allocations: 267.1 kB / 0.9096 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/3.959, allocations: 4 kB / 0.9096 GB, free: 15.8 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)