Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001896/0.001896, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.002334/0.002334, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 69.86 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2698, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07532/0.3452, allocations: 76.49 MB / 0.8582 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02694/0.3722, allocations: 18.6 MB / 0.8764 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004202/0.3764, allocations: 95.38 kB / 0.8765 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.3808, allocations: 1.08 MB / 0.8775 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3922, allocations: 3.367 MB / 0.8808 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006318/0.3985, allocations: 1.952 MB / 0.8827 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01091/0.4095, allocations: 6.697 MB / 0.8892 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003775/0.4133, allocations: 2.055 MB / 0.8913 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006466/0.4198, allocations: 2.336 MB / 0.8935 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.4237, allocations: 1.816 MB / 0.8953 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.4245, allocations: 204 kB / 0.8955 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005007/0.4295, allocations: 1.645 MB / 0.8971 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.4306, allocations: 0.5371 MB / 0.8976 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.4334, allocations: 1.252 MB / 0.8989 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.4384, allocations: 2.904 MB / 0.9017 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4384, allocations: 3.938 kB / 0.9017 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4384, allocations: 0 / 0.9017 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.297e-05/0.4385, allocations: 0 / 0.9017 GB, free: 4.496 MB / 0.7169 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.005606/0.4441, allocations: 2.707 MB / 0.9043 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4442, allocations: 12.03 kB / 0.9044 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.445, allocations: 262 kB / 0.9046 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.4483, allocations: 1.952 MB / 0.9065 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.4484, allocations: 114.7 kB / 0.9066 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.4486, allocations: 143.9 kB / 0.9068 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.4513, allocations: 1.512 MB / 0.9082 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.4514, allocations: 3.906 kB / 0.9082 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.4515, allocations: 63.98 kB / 0.9083 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/0.4516, allocations: 43.98 kB / 0.9083 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.4537, allocations: 1.119 MB / 0.9094 GB, free: 12.38 MB / 0.7325 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.009507/0.4632, allocations: 7.571 MB / 0.9168 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4643, allocations: 473.2 kB / 0.9173 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.4649, allocations: 331.7 kB / 0.9176 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008806/0.4658, allocations: 1.156 MB / 0.9187 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4659, allocations: 47.16 kB / 0.9188 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.284e-06/0.4659, allocations: 0 / 0.9188 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002439/0.4683, allocations: 0.9574 MB / 0.9197 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4684, allocations: 55.97 kB / 0.9198 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4644/0.9328, allocations: 1.736 MB / 0.9215 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.9331, allocations: 40.92 kB / 0.9215 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/0.934, allocations: 0.9221 MB / 0.9224 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.9343, allocations: 224.6 kB / 0.9226 GB, free: 135 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.9347, allocations: 230.8 kB / 0.9228 GB, free: 135 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9348, allocations: 349 kB / 0.9232 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/0.9356, allocations: 330.9 kB / 0.9235 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.9366, allocations: 0.6935 MB / 0.9242 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.9383, allocations: 1.011 MB / 0.9251 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.9383, allocations: 3.562 kB / 0.9251 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002904/0.9413, allocations: 1.219 MB / 0.9263 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9413, allocations: 11.16 kB / 0.9263 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.9413, allocations: 9.844 kB / 0.9264 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.9414, allocations: 16.06 kB / 0.9264 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9424, allocations: 293.5 kB / 0.9266 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.9424, allocations: 19.38 kB / 0.9267 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.9442, allocations: 235 kB / 0.9269 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.9443, allocations: 54.11 kB / 0.9269 GB, free: 133.2 MB / 0.7325 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.0007444/0.945, allocations: 437.2 kB / 0.9274 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.9455, allocations: 193.2 kB / 0.9275 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.9471, allocations: 0.8646 MB / 0.9284 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.9471, allocations: 12.41 kB / 0.9284 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.9471, allocations: 0 / 0.9284 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.9483, allocations: 0.7949 MB / 0.9292 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.9523, allocations: 2.42 MB / 0.9315 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.9524, allocations: 2.375 kB / 0.9315 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.9531, allocations: 181.5 kB / 0.9317 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.9532, allocations: 10.3 kB / 0.9317 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.9532, allocations: 20.84 kB / 0.9317 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.9532, allocations: 8.812 kB / 0.9318 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.9533, allocations: 4.797 kB / 0.9318 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.9556, allocations: 1.335 MB / 0.9331 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/0.9564, allocations: 362.9 kB / 0.9334 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.9568, allocations: 18.66 kB / 0.9334 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.9582, allocations: 112.4 kB / 0.9335 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.9584, allocations: 54.92 kB / 0.9336 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.276e-05/0.9585, allocations: 32.97 kB / 0.9336 GB, free: 130 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002236/0.9607, allocations: 1.208 MB / 0.9348 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9607, allocations: 0 / 0.9348 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002509/0.9633, allocations: 0.6371 MB / 0.9354 GB, free: 129.4 MB / 0.7325 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.001394/0.9647, allocations: 0.5982 MB / 0.936 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.9673, allocations: 0.8893 MB / 0.9369 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.9673, allocations: 1.156 kB / 0.9369 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.9682, allocations: 356.5 kB / 0.9372 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006767/0.975, allocations: 1.209 MB / 0.9384 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.9826, allocations: 3.757 MB / 0.9421 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.9838, allocations: 1.387 MB / 0.9434 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/0.9845, allocations: 154.2 kB / 0.9436 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.282e-06/0.9845, allocations: 0 / 0.9436 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05697/1.041, allocations: 34.4 MB / 0.9772 GB, free: 104 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)