Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001195/0.001196, 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.00118/0.00118, allocations: 193 kB / 16.13 MB, free: 6.699 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.323/1.323, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 251.7 MB / 0.5088 GB, free: 3.355 MB / 414.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.001437/0.001437, allocations: 59.92 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5601, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0699/0.63, allocations: 76.65 MB / 0.7987 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.6558, allocations: 18.74 MB / 0.817 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005363/0.6612, allocations: 99.38 kB / 0.8171 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.666, allocations: 1.029 MB / 0.8181 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.6785, allocations: 3.351 MB / 0.8213 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005988/0.6845, allocations: 1.848 MB / 0.8231 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.6967, allocations: 8.85 MB / 0.8318 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003732/0.7005, allocations: 1.725 MB / 0.8335 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00551/0.706, allocations: 1.936 MB / 0.8354 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.71, allocations: 1.769 MB / 0.8371 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005297/0.7105, allocations: 96 kB / 0.8372 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005029/0.7156, allocations: 1.454 MB / 0.8386 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.7162, allocations: 454 kB / 0.839 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.7181, allocations: 1.131 MB / 0.8401 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.7245, allocations: 3.607 MB / 0.8437 GB, free: 2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.7245, allocations: 7.938 kB / 0.8437 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7245, allocations: 0 / 0.8437 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.722e-05/0.7246, allocations: 0 / 0.8437 GB, free: 1.992 MB / 0.6544 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.005911/0.7305, allocations: 2.695 MB / 0.8463 GB, free: 15.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.7306, allocations: 12.03 kB / 0.8463 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.7313, allocations: 262 kB / 0.8466 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.7348, allocations: 1.945 MB / 0.8485 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.7349, allocations: 106.7 kB / 0.8486 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.7351, allocations: 144 kB / 0.8487 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.7378, allocations: 1.505 MB / 0.8502 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.7379, allocations: 0 / 0.8502 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.738, allocations: 60 kB / 0.8502 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.7381, allocations: 47.92 kB / 0.8503 GB, free: 11.03 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.7404, allocations: 1.115 MB / 0.8514 GB, free: 9.91 MB / 0.67 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.009056/0.7495, allocations: 7.547 MB / 0.8587 GB, free: 1.785 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7505, allocations: 480.6 kB / 0.8592 GB, free: 1.305 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.7512, allocations: 340.7 kB / 0.8595 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/0.7521, allocations: 1.156 MB / 0.8606 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.7522, allocations: 39.12 kB / 0.8607 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 2.786e-06/0.7522, allocations: 0 / 0.8607 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.002417/0.7546, allocations: 0.9612 MB / 0.8616 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.7547, allocations: 67.84 kB / 0.8617 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.757, allocations: 1.743 MB / 0.8634 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/0.7571, allocations: 45.7 kB / 0.8634 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/0.7579, allocations: 0.9198 MB / 0.8643 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.7583, allocations: 217 kB / 0.8645 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.7587, allocations: 234.6 kB / 0.8648 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.7589, allocations: 349.9 kB / 0.8651 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006991/0.7596, allocations: 330.4 kB / 0.8654 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.7607, allocations: 0.6899 MB / 0.8661 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.7623, allocations: 1.012 MB / 0.8671 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.7624, allocations: 4 kB / 0.8671 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002556/0.7649, allocations: 1.213 MB / 0.8683 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.765, allocations: 8 kB / 0.8683 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.765, allocations: 12.88 kB / 0.8683 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.765, allocations: 12 kB / 0.8683 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.7661, allocations: 295.5 kB / 0.8686 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.7661, allocations: 23.92 kB / 0.8686 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.7678, allocations: 239.5 kB / 0.8688 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.719e-05/0.7679, allocations: 51.98 kB / 0.8689 GB, free: 6.738 MB / 0.6856 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.0008489/0.7688, allocations: 441.3 kB / 0.8693 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.7692, allocations: 189.7 kB / 0.8695 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.7711, allocations: 0.8568 MB / 0.8703 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.7711, allocations: 7.984 kB / 0.8703 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7711, allocations: 8 kB / 0.8703 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/0.7727, allocations: 0.7878 MB / 0.8711 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.7769, allocations: 2.415 MB / 0.8735 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.7769, allocations: 7.938 kB / 0.8735 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.7777, allocations: 184 kB / 0.8736 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.7778, allocations: 4 kB / 0.8736 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.7778, allocations: 23.98 kB / 0.8737 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.7778, allocations: 4 kB / 0.8737 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7778, allocations: 0 / 0.8737 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.7803, allocations: 1.335 MB / 0.875 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.781, allocations: 358.5 kB / 0.8753 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.7812, allocations: 12 kB / 0.8753 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.7823, allocations: 123.6 kB / 0.8754 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.7825, allocations: 56.44 kB / 0.8755 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.7825, allocations: 31.97 kB / 0.8755 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001682/0.7842, allocations: 1.208 MB / 0.8767 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7842, allocations: 0 / 0.8767 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001748/0.786, allocations: 0.6395 MB / 0.8773 GB, free: 13.83 MB / 0.7012 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.001165/0.7871, allocations: 0.5752 MB / 0.8779 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.7889, allocations: 0.8233 MB / 0.8787 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7889, allocations: 0 / 0.8787 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.7896, allocations: 352.4 kB / 0.879 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/0.795, allocations: 1.199 MB / 0.8802 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.8003, allocations: 3.712 MB / 0.8838 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009816/0.8013, allocations: 1.405 MB / 0.8852 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001594/0.8029, allocations: 374 kB / 0.8856 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.8032, allocations: 151.4 kB / 0.8857 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of SimCode: time 7.81e-07/0.8032, allocations: 0 / 0.8857 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of Templates: time 0.4144/1.218, allocations: 39.82 MB / 0.9246 GB, free: 164.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)