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.00143/0.00143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001672/0.001672, allocations: 188.1 kB / 16.25 MB, free: 6.633 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.378/1.378, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.703/1.703, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001418/0.001418, allocations: 70.5 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2247, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07055/0.2953, allocations: 76.48 MB / 0.8575 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02591/0.3213, allocations: 18.6 MB / 0.8757 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004913/0.3262, allocations: 95.38 kB / 0.8758 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004209/0.3305, allocations: 1.073 MB / 0.8768 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.3413, allocations: 3.382 MB / 0.8801 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006031/0.3473, allocations: 1.944 MB / 0.882 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.3584, allocations: 6.695 MB / 0.8886 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003677/0.3621, allocations: 2.055 MB / 0.8906 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006459/0.3686, allocations: 2.337 MB / 0.8929 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.372, allocations: 1.824 MB / 0.8947 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007736/0.3727, allocations: 196 kB / 0.8948 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.3772, allocations: 1.649 MB / 0.8964 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009992/0.3782, allocations: 0.5371 MB / 0.897 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.3809, allocations: 1.248 MB / 0.8982 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007234/0.3882, allocations: 3.728 MB / 0.9018 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3882, allocations: 4 kB / 0.9018 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3882, allocations: 3.938 kB / 0.9018 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001486/0.3884, allocations: 4 kB / 0.9018 GB, free: 3.664 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.006347/0.3947, allocations: 2.703 MB / 0.9045 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3948, allocations: 12.03 kB / 0.9045 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3959, allocations: 262 kB / 0.9047 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/0.3998, allocations: 1.948 MB / 0.9066 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4, allocations: 110.7 kB / 0.9068 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/0.4003, allocations: 144 kB / 0.9069 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.4038, allocations: 1.516 MB / 0.9084 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.4039, allocations: 7.906 kB / 0.9084 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.404, allocations: 63.92 kB / 0.9084 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/0.4041, allocations: 47.92 kB / 0.9085 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.4066, allocations: 1.122 MB / 0.9096 GB, free: 11.54 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.009434/0.416, allocations: 7.559 MB / 0.917 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.417, allocations: 484.6 kB / 0.9174 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.4176, allocations: 327.7 kB / 0.9177 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/0.4185, allocations: 1.156 MB / 0.9189 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4185, allocations: 43.11 kB / 0.9189 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.314e-06/0.4185, allocations: 0 / 0.9189 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002456/0.421, allocations: 0.9496 MB / 0.9198 GB, free: 176 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.4211, allocations: 67.89 kB / 0.9199 GB, free: 96 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3997/0.8207, allocations: 1.741 MB / 0.9216 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.821, allocations: 40.2 kB / 0.9216 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/0.8217, allocations: 0.9195 MB / 0.9225 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.8219, allocations: 221.8 kB / 0.9227 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.8223, allocations: 235.1 kB / 0.923 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.8224, allocations: 351.8 kB / 0.9233 GB, free: 135 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/0.8232, allocations: 329.1 kB / 0.9236 GB, free: 135 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.8241, allocations: 0.6936 MB / 0.9243 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.8255, allocations: 1.016 MB / 0.9253 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.8256, allocations: 2.75 kB / 0.9253 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002379/0.828, allocations: 1.212 MB / 0.9265 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.828, allocations: 8.344 kB / 0.9265 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.828, allocations: 10.59 kB / 0.9265 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.8281, allocations: 15.59 kB / 0.9265 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009548/0.829, allocations: 291.3 kB / 0.9268 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.829, allocations: 22.56 kB / 0.9268 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8305, allocations: 235.1 kB / 0.927 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.8306, allocations: 54.3 kB / 0.9271 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.0006323/0.8312, allocations: 443.8 kB / 0.9275 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.8315, allocations: 192.7 kB / 0.9277 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.8331, allocations: 0.8594 MB / 0.9285 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.8331, allocations: 16.38 kB / 0.9285 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8331, allocations: 1.562 kB / 0.9285 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001158/0.8343, allocations: 0.7938 MB / 0.9293 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.8381, allocations: 2.418 MB / 0.9317 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.8381, allocations: 2.625 kB / 0.9317 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.8389, allocations: 182.5 kB / 0.9319 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.8389, allocations: 2.625 kB / 0.9319 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.839, allocations: 18.12 kB / 0.9319 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.839, allocations: 5.906 kB / 0.9319 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.839, allocations: 6.562 kB / 0.9319 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.8413, allocations: 1.335 MB / 0.9332 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.842, allocations: 368.1 kB / 0.9335 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.8422, allocations: 13.89 kB / 0.9336 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.8434, allocations: 118.7 kB / 0.9337 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8435, allocations: 55.19 kB / 0.9337 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.8436, allocations: 41.23 kB / 0.9338 GB, free: 130 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001819/0.8454, allocations: 1.207 MB / 0.9349 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8454, allocations: 0 / 0.9349 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00212/0.8475, allocations: 0.6363 MB / 0.9356 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.00136/0.8489, allocations: 0.5838 MB / 0.9361 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.8514, allocations: 0.8963 MB / 0.937 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8514, allocations: 1.094 kB / 0.937 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/0.8522, allocations: 357.3 kB / 0.9374 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.005977/0.8582, allocations: 1.207 MB / 0.9385 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.8639, allocations: 3.723 MB / 0.9422 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009915/0.865, allocations: 1.401 MB / 0.9435 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001967/0.8669, allocations: 377.5 kB / 0.9439 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.8673, allocations: 149.1 kB / 0.944 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/0.8673, allocations: 0 / 0.944 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.0605/0.9278, allocations: 40.98 MB / 0.9841 GB, free: 96.91 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)