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.0008165/0.0008166, allocations: 91.84 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.005556/0.005556, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.4 MB / 222.4 MB, free: 5.57 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.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005522/0.0005522, allocations: 13.97 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2346, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07466/0.3093, allocations: 75.28 MB / 0.8614 GB, free: 44 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02642/0.3357, allocations: 18.61 MB / 0.8796 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.3399, allocations: 95.38 kB / 0.8796 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.3437, allocations: 1.022 MB / 0.8806 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.3546, allocations: 3.356 MB / 0.8839 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006124/0.3607, allocations: 1.924 MB / 0.8858 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.3725, allocations: 8.874 MB / 0.8945 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.3756, allocations: 1.679 MB / 0.8961 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.3801, allocations: 1.882 MB / 0.8979 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003147/0.3832, allocations: 1.703 MB / 0.8996 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.3837, allocations: 72 kB / 0.8997 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.3879, allocations: 1.446 MB / 0.9011 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000732/0.3886, allocations: 418 kB / 0.9015 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002143/0.3908, allocations: 1.113 MB / 0.9026 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006204/0.397, allocations: 3.567 MB / 0.9061 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.397, allocations: 0 / 0.9061 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.397, allocations: 4 kB / 0.9061 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001015/0.3971, allocations: 0 / 0.9061 GB, free: 2.129 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.393/0.7901, allocations: 2.277 MB / 0.9083 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.7902, allocations: 10.44 kB / 0.9083 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.7917, allocations: 263.2 kB / 0.9085 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/0.7954, allocations: 1.95 MB / 0.9105 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-05/0.7955, allocations: 110.2 kB / 0.9106 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.7957, allocations: 144.5 kB / 0.9107 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.7987, allocations: 1.54 MB / 0.9122 GB, free: 118.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.7987, allocations: 10.69 kB / 0.9122 GB, free: 118.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.7989, allocations: 60.59 kB / 0.9123 GB, free: 118.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.7989, allocations: 39.34 kB / 0.9123 GB, free: 118.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.8013, allocations: 1.172 MB / 0.9134 GB, free: 118.4 MB / 0.7169 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.007175/0.8085, allocations: 7.572 MB / 0.9208 GB, free: 112.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.8095, allocations: 0.4914 MB / 0.9213 GB, free: 112.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.8101, allocations: 355.7 kB / 0.9217 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.8108, allocations: 1.155 MB / 0.9228 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.8108, allocations: 43.91 kB / 0.9228 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.916e-06/0.8108, allocations: 1.219 kB / 0.9228 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002132/0.813, allocations: 1.023 MB / 0.9238 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.813, allocations: 72.27 kB / 0.9239 GB, free: 110.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.8151, allocations: 1.738 MB / 0.9256 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.8152, allocations: 44.83 kB / 0.9256 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.8159, allocations: 0.9179 MB / 0.9265 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.816, allocations: 219.5 kB / 0.9267 GB, free: 109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8162, allocations: 97.61 kB / 0.9268 GB, free: 109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.8163, allocations: 343.1 kB / 0.9272 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/0.817, allocations: 351.2 kB / 0.9275 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/0.8179, allocations: 0.7185 MB / 0.9282 GB, free: 108 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.8194, allocations: 1.051 MB / 0.9292 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8194, allocations: 2.375 kB / 0.9292 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002412/0.8219, allocations: 1.259 MB / 0.9305 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.8219, allocations: 10.12 kB / 0.9305 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.8219, allocations: 12.41 kB / 0.9305 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/0.822, allocations: 18.88 kB / 0.9305 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.8231, allocations: 316.4 kB / 0.9308 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.8231, allocations: 25.64 kB / 0.9308 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8247, allocations: 256.1 kB / 0.9311 GB, free: 106.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/0.8248, allocations: 50.7 kB / 0.9311 GB, free: 106.7 MB / 0.7169 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.0006996/0.8255, allocations: 435.2 kB / 0.9315 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.8258, allocations: 195.2 kB / 0.9317 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.8278, allocations: 0.8985 MB / 0.9326 GB, free: 106 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.8279, allocations: 8.094 kB / 0.9326 GB, free: 106 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.8279, allocations: 4.438 kB / 0.9326 GB, free: 106 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/0.8297, allocations: 0.838 MB / 0.9334 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/0.8344, allocations: 2.48 MB / 0.9358 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8344, allocations: 4.031 kB / 0.9359 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.8353, allocations: 215.4 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.8353, allocations: 4.781 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.8353, allocations: 15.41 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.8354, allocations: 8.062 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.8354, allocations: 13.98 kB / 0.9361 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.8378, allocations: 1.4 MB / 0.9375 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.8384, allocations: 401.8 kB / 0.9378 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.8387, allocations: 12.84 kB / 0.9379 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.8398, allocations: 130.2 kB / 0.938 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.8399, allocations: 48.91 kB / 0.938 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.84, allocations: 38.81 kB / 0.9381 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001675/0.8417, allocations: 1.202 MB / 0.9392 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8417, allocations: 5.094 kB / 0.9392 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002085/0.8438, allocations: 0.6336 MB / 0.9399 GB, free: 102.7 MB / 0.7169 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.00107/0.8449, allocations: 0.5966 MB / 0.9404 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.8466, allocations: 0.851 MB / 0.9413 GB, free: 102.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8467, allocations: 5.25 kB / 0.9413 GB, free: 102.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.8474, allocations: 380.7 kB / 0.9416 GB, free: 102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006532/0.8539, allocations: 1.217 MB / 0.9428 GB, free: 101.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.8587, allocations: 3.807 MB / 0.9466 GB, free: 98.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.8595, allocations: 1.407 MB / 0.9479 GB, free: 97.76 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001857/0.8614, allocations: 373.4 kB / 0.9483 GB, free: 97.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.8618, allocations: 153.3 kB / 0.9484 GB, free: 97.57 MB / 0.7169 GB Notification: Performance of SimCode: time 9.11e-07/0.8618, allocations: 0 / 0.9484 GB, free: 97.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.05761/0.9194, allocations: 40.3 MB / 0.9878 GB, free: 62.01 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: