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.001125/0.001125, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.00975/0.00975, allocations: 172 kB / 16.26 MB, free: 6.613 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.28/1.28, allocations: 223.2 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 271.1 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.894/0.894, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 12.81 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07094/0.2268, allocations: 75.27 MB / 0.7587 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3591/0.5859, allocations: 18.76 MB / 0.7771 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.5889, allocations: 95.19 kB / 0.7772 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.5915, allocations: 1.017 MB / 0.7781 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009287/0.6008, allocations: 3.381 MB / 0.7814 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.606, allocations: 1.905 MB / 0.7833 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.6165, allocations: 8.886 MB / 0.792 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.6197, allocations: 1.692 MB / 0.7936 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004923/0.6247, allocations: 1.884 MB / 0.7955 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003829/0.6285, allocations: 1.707 MB / 0.7971 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.6289, allocations: 73.56 kB / 0.7972 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.6333, allocations: 1.434 MB / 0.7986 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.6338, allocations: 414.6 kB / 0.799 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.6356, allocations: 1.121 MB / 0.8001 GB, free: 20.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005147/0.6407, allocations: 3.574 MB / 0.8036 GB, free: 20.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6408, allocations: 4 kB / 0.8036 GB, free: 20.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.896e-06/0.6408, allocations: 0 / 0.8036 GB, free: 20.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.356e-05/0.6408, allocations: 3.938 kB / 0.8036 GB, free: 20.07 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.00389/0.6447, allocations: 2.296 MB / 0.8058 GB, free: 18.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.6448, allocations: 9.625 kB / 0.8059 GB, free: 18.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.645, allocations: 198.3 kB / 0.806 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.6455, allocations: 267.6 kB / 0.8063 GB, free: 18.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.6482, allocations: 1.983 MB / 0.8082 GB, free: 17.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.6483, allocations: 105.7 kB / 0.8083 GB, free: 17.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.6485, allocations: 138.5 kB / 0.8085 GB, free: 17.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.6506, allocations: 1.538 MB / 0.81 GB, free: 16.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.6507, allocations: 7.562 kB / 0.81 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.6508, allocations: 57.38 kB / 0.81 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.6508, allocations: 46.38 kB / 0.8101 GB, free: 16.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.6527, allocations: 1.173 MB / 0.8112 GB, free: 15.58 MB / 0.5606 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.007089/0.6598, allocations: 7.594 MB / 0.8186 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.6607, allocations: 498.2 kB / 0.8191 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.6613, allocations: 355.6 kB / 0.8195 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.6621, allocations: 1.151 MB / 0.8206 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.6621, allocations: 41.75 kB / 0.8206 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 3.377e-06/0.6621, allocations: 3.984 kB / 0.8206 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.001937/0.6641, allocations: 1.025 MB / 0.8216 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.6641, allocations: 58.56 kB / 0.8217 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.666, allocations: 1.76 MB / 0.8234 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.6661, allocations: 38.23 kB / 0.8234 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/0.6668, allocations: 0.9355 MB / 0.8243 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.667, allocations: 224.1 kB / 0.8246 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.6671, allocations: 93.8 kB / 0.8246 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6672, allocations: 350 kB / 0.825 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.6679, allocations: 354.2 kB / 0.8253 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008892/0.6688, allocations: 0.7048 MB / 0.826 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.6703, allocations: 1.058 MB / 0.827 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6703, allocations: 4.688 kB / 0.827 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00196/0.6723, allocations: 1.26 MB / 0.8283 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6723, allocations: 12.25 kB / 0.8283 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6723, allocations: 9.344 kB / 0.8283 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6723, allocations: 16.25 kB / 0.8283 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.6733, allocations: 313.5 kB / 0.8286 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.6733, allocations: 22.48 kB / 0.8286 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.6748, allocations: 252.2 kB / 0.8289 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.6749, allocations: 47.75 kB / 0.8289 GB, free: 1.66 MB / 0.5606 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.0006469/0.6756, allocations: 445.7 kB / 0.8293 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.6758, allocations: 193.2 kB / 0.8295 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.6775, allocations: 0.9044 MB / 0.8304 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6775, allocations: 8.25 kB / 0.8304 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6775, allocations: 0 / 0.8304 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.6787, allocations: 0.84 MB / 0.8312 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.6826, allocations: 2.48 MB / 0.8337 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.6826, allocations: 10.28 kB / 0.8337 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.6834, allocations: 211 kB / 0.8339 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.6834, allocations: 3.312 kB / 0.8339 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.6834, allocations: 18.97 kB / 0.8339 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.6834, allocations: 9.766 kB / 0.8339 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6834, allocations: 2.406 kB / 0.8339 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.6856, allocations: 1.397 MB / 0.8353 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/0.6863, allocations: 409.8 kB / 0.8357 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.6865, allocations: 18.72 kB / 0.8357 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.6876, allocations: 125 kB / 0.8358 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.6877, allocations: 50.94 kB / 0.8358 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.6878, allocations: 35.16 kB / 0.8359 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001486/0.6892, allocations: 1.221 MB / 0.8371 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6893, allocations: 0 / 0.8371 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001896/0.6912, allocations: 0.637 MB / 0.8377 GB, free: 12.38 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.003615/0.6948, allocations: 2.441 MB / 0.8401 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.6965, allocations: 0.8585 MB / 0.8409 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6965, allocations: 0 / 0.8409 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.6973, allocations: 376.4 kB / 0.8413 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006345/0.7036, allocations: 1.213 MB / 0.8425 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/0.7307, allocations: 14.92 MB / 0.857 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009286/0.7316, allocations: 1.405 MB / 0.8584 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001589/0.7332, allocations: 376.9 kB / 0.8588 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/0.7341, allocations: 0.7648 MB / 0.8595 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/0.7341, allocations: 3.938 kB / 0.8595 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08586/0.82, allocations: 55.54 MB / 0.9138 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.8203, allocations: 267.7 kB / 0.914 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/3.948, allocations: 0 / 0.914 GB, free: 14.33 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)