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.00785/0.00785, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001806/0.001806, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 4.367 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.506/1.506, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001465/0.001465, allocations: 63.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2306, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07741/0.3081, allocations: 77.15 MB / 0.9034 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4956/0.8037, allocations: 18.64 MB / 0.9216 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.8076, allocations: 104.7 kB / 0.9217 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.8115, allocations: 1.251 MB / 0.9229 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.8229, allocations: 3.604 MB / 0.9264 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006346/0.8293, allocations: 2.045 MB / 0.9284 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.8406, allocations: 6.624 MB / 0.9349 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005713/0.8463, allocations: 2.078 MB / 0.9369 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008836/0.8552, allocations: 2.314 MB / 0.9392 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005487/0.8607, allocations: 1.756 MB / 0.9409 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.862, allocations: 197.2 kB / 0.9411 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007748/0.8698, allocations: 1.621 MB / 0.9427 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.8713, allocations: 0.531 MB / 0.9432 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004559/0.8759, allocations: 1.234 MB / 0.9444 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.8877, allocations: 3.743 MB / 0.9481 GB, free: 0 / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-05/0.8878, allocations: 1.328 kB / 0.9481 GB, free: 0 / 0.7169 GB Notification: Performance of FrontEnd: time 5.37e-06/0.8878, allocations: 112 / 0.9481 GB, free: 16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001498/0.8879, allocations: 3.938 kB / 0.9481 GB, free: 15.99 MB / 0.7325 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.008856/0.8968, allocations: 2.696 MB / 0.9507 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8969, allocations: 9.031 kB / 0.9507 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.8979, allocations: 269.8 kB / 0.951 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.9018, allocations: 1.976 MB / 0.9529 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.9019, allocations: 110.9 kB / 0.953 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.9021, allocations: 141.1 kB / 0.9531 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.905, allocations: 1.512 MB / 0.9546 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.905, allocations: 1.094 kB / 0.9546 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.9052, allocations: 60.31 kB / 0.9547 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.9052, allocations: 36.12 kB / 0.9547 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.9075, allocations: 1.127 MB / 0.9558 GB, free: 11.91 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.009002/0.9166, allocations: 7.577 MB / 0.9632 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.9176, allocations: 473.2 kB / 0.9637 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.9182, allocations: 336.2 kB / 0.964 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008292/0.9191, allocations: 1.149 MB / 0.9651 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.9191, allocations: 47.41 kB / 0.9651 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 3.025e-06/0.9192, allocations: 7.875 kB / 0.9652 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002358/0.9215, allocations: 0.9604 MB / 0.9661 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.9216, allocations: 57.62 kB / 0.9661 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.9237, allocations: 1.762 MB / 0.9679 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.9238, allocations: 39.64 kB / 0.9679 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007456/0.9245, allocations: 0.925 MB / 0.9688 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.9248, allocations: 217.6 kB / 0.969 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.9251, allocations: 230.8 kB / 0.9692 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9252, allocations: 351.4 kB / 0.9696 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.9259, allocations: 328.3 kB / 0.9699 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009588/0.9269, allocations: 0.6946 MB / 0.9706 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.9285, allocations: 1.007 MB / 0.9715 GB, free: 180 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.9285, allocations: 2.688 kB / 0.9715 GB, free: 180 kB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0024/0.9309, allocations: 1.22 MB / 0.9727 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.9309, allocations: 8.125 kB / 0.9727 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.931, allocations: 10.81 kB / 0.9728 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.931, allocations: 17.06 kB / 0.9728 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.932, allocations: 292.2 kB / 0.9731 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.932, allocations: 26.33 kB / 0.9731 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.9337, allocations: 165.5 kB / 0.9732 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.9338, allocations: 47.62 kB / 0.9733 GB, free: 15.39 MB / 0.7481 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.0008013/0.9346, allocations: 435.3 kB / 0.9737 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.9349, allocations: 194 kB / 0.9739 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.9367, allocations: 0.8668 MB / 0.9747 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.9368, allocations: 7.25 kB / 0.9747 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.9368, allocations: 4 kB / 0.9747 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.9382, allocations: 0.8004 MB / 0.9755 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.9425, allocations: 2.429 MB / 0.9779 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.9425, allocations: 0 / 0.9779 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/0.9433, allocations: 182.2 kB / 0.9781 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.9434, allocations: 5.062 kB / 0.9781 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.9434, allocations: 24.17 kB / 0.9781 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.9434, allocations: 4.406 kB / 0.9781 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.9434, allocations: 6.5 kB / 0.9781 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.9459, allocations: 1.332 MB / 0.9794 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/0.9467, allocations: 357.8 kB / 0.9797 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.9469, allocations: 12.88 kB / 0.9798 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.948, allocations: 76.39 kB / 0.9798 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.9481, allocations: 45.53 kB / 0.9799 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.9482, allocations: 27.73 kB / 0.9799 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001773/0.9499, allocations: 1.234 MB / 0.9811 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.95, allocations: 0 / 0.9811 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002082/0.952, allocations: 0.6531 MB / 0.9817 GB, free: 10.17 MB / 0.7481 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.001127/0.9532, allocations: 0.6082 MB / 0.9823 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.9549, allocations: 0.8106 MB / 0.9831 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9549, allocations: 6.344 kB / 0.9831 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/0.9557, allocations: 356.2 kB / 0.9835 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/0.9607, allocations: 1.199 MB / 0.9846 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.9656, allocations: 3.048 MB / 0.9876 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.9665, allocations: 1.402 MB / 0.989 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001656/0.9682, allocations: 373 kB / 0.9893 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.9685, allocations: 151.4 kB / 0.9895 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of SimCode: time 1.383e-06/0.9685, allocations: 0 / 0.9895 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of Templates: time 0.07077/1.039, allocations: 41.79 MB / 1.03 GB, free: 11.64 MB / 0.795 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)