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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001706/0.001706, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002271/0.002271, allocations: 287 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 92.42 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1754, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07089/0.2463, allocations: 76.65 MB / 0.7543 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.272, allocations: 18.96 MB / 0.7728 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.2754, allocations: 107.3 kB / 0.7729 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.2789, allocations: 1.026 MB / 0.7739 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.3417/0.6206, allocations: 3.363 MB / 0.7772 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005859/0.6265, allocations: 1.905 MB / 0.7791 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.6397, allocations: 8.893 MB / 0.7877 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.6433, allocations: 1.735 MB / 0.7894 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/0.6487, allocations: 1.938 MB / 0.7913 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.6527, allocations: 1.761 MB / 0.793 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006967/0.6534, allocations: 100.8 kB / 0.7931 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/0.6588, allocations: 1.464 MB / 0.7946 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.66, allocations: 454.6 kB / 0.795 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.6629, allocations: 1.14 MB / 0.7961 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008905/0.6718, allocations: 3.647 MB / 0.7997 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.6718, allocations: 0 / 0.7997 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6719, allocations: 0 / 0.7997 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001884/0.6721, allocations: 5.219 kB / 0.7997 GB, free: 6.926 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.008291/0.6804, allocations: 2.715 MB / 0.8023 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.6804, allocations: 12.25 kB / 0.8023 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.6816, allocations: 264.6 kB / 0.8026 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.6861, allocations: 1.975 MB / 0.8045 GB, free: 21.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.6863, allocations: 112.8 kB / 0.8046 GB, free: 21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.6866, allocations: 142.1 kB / 0.8048 GB, free: 21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.6902, allocations: 1.519 MB / 0.8062 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.6903, allocations: 5.125 kB / 0.8063 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.6904, allocations: 60.28 kB / 0.8063 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.6905, allocations: 43.64 kB / 0.8064 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.6932, allocations: 1.121 MB / 0.8074 GB, free: 20.75 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.01084/0.7041, allocations: 7.573 MB / 0.8148 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.7051, allocations: 479.2 kB / 0.8153 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.7058, allocations: 329.2 kB / 0.8156 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008861/0.7067, allocations: 1.161 MB / 0.8167 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.7067, allocations: 39.53 kB / 0.8168 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/0.7067, allocations: 0 / 0.8168 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002452/0.7092, allocations: 0.9668 MB / 0.8177 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.7093, allocations: 57.91 kB / 0.8178 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.7115, allocations: 1.754 MB / 0.8195 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.7116, allocations: 41.67 kB / 0.8195 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.7123, allocations: 0.9331 MB / 0.8205 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.7125, allocations: 223.4 kB / 0.8207 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.7128, allocations: 228.3 kB / 0.8209 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.713, allocations: 344.9 kB / 0.8212 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.7136, allocations: 330.2 kB / 0.8215 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.7146, allocations: 0.6886 MB / 0.8222 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.7165, allocations: 1.01 MB / 0.8232 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.7165, allocations: 10.25 kB / 0.8232 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003095/0.7196, allocations: 1.22 MB / 0.8244 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.7197, allocations: 11.31 kB / 0.8244 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7197, allocations: 10.97 kB / 0.8244 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/0.7197, allocations: 14.78 kB / 0.8244 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7208, allocations: 296.4 kB / 0.8247 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/0.7208, allocations: 24.92 kB / 0.8247 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.7229, allocations: 232.5 kB / 0.8249 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.723, allocations: 55.88 kB / 0.825 GB, free: 12.78 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.0008989/0.7239, allocations: 434.7 kB / 0.8254 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.7243, allocations: 196.1 kB / 0.8256 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.7259, allocations: 0.8697 MB / 0.8265 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.726, allocations: 8.531 kB / 0.8265 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.726, allocations: 0 / 0.8265 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/0.7272, allocations: 0.7987 MB / 0.8272 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.7313, allocations: 2.428 MB / 0.8296 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7313, allocations: 3.906 kB / 0.8296 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.7321, allocations: 179.2 kB / 0.8298 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.7321, allocations: 5.469 kB / 0.8298 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.7321, allocations: 18.19 kB / 0.8298 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.7322, allocations: 10.38 kB / 0.8298 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7322, allocations: 0 / 0.8298 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.7344, allocations: 1.335 MB / 0.8311 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008963/0.7354, allocations: 363.1 kB / 0.8315 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.7356, allocations: 17.03 kB / 0.8315 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7367, allocations: 122.6 kB / 0.8316 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.7369, allocations: 50.98 kB / 0.8316 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.7369, allocations: 35.5 kB / 0.8317 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001729/0.7387, allocations: 1.222 MB / 0.8329 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7387, allocations: 0 / 0.8329 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002275/0.741, allocations: 0.6386 MB / 0.8335 GB, free: 8.379 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.001271/0.7423, allocations: 0.5942 MB / 0.8341 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.744, allocations: 0.8044 MB / 0.8349 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.744, allocations: 2.469 kB / 0.8349 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.7448, allocations: 361.5 kB / 0.8352 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/0.7522, allocations: 1.206 MB / 0.8364 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.7588, allocations: 3.743 MB / 0.84 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.7601, allocations: 1.405 MB / 0.8414 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002473/0.7626, allocations: 378.5 kB / 0.8418 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.763, allocations: 147.3 kB / 0.8419 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of SimCode: time 2.234e-06/0.763, allocations: 4 kB / 0.8419 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.06911/0.8321, allocations: 39.89 MB / 0.8809 GB, free: 14.04 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)