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.005672/0.005672, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001232/0.001232, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.572/1.572, allocations: 251.7 MB / 0.5094 GB, free: 3.105 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.001616/0.001616, allocations: 71.84 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2116, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08086/0.2924, allocations: 77.15 MB / 0.9034 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.512/0.8045, allocations: 18.66 MB / 0.9216 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005446/0.81, allocations: 104.3 kB / 0.9217 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.8141, allocations: 1.282 MB / 0.923 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.8259, allocations: 3.789 MB / 0.9267 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/0.832, allocations: 2.05 MB / 0.9287 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.8431, allocations: 6.638 MB / 0.9351 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/0.8468, allocations: 2.076 MB / 0.9372 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.853, allocations: 2.365 MB / 0.9395 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.858, allocations: 1.763 MB / 0.9412 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009994/0.8591, allocations: 195.8 kB / 0.9414 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007174/0.8662, allocations: 1.619 MB / 0.943 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009946/0.8673, allocations: 0.526 MB / 0.9435 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003442/0.8707, allocations: 1.239 MB / 0.9447 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00945/0.8802, allocations: 3.707 MB / 0.9483 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.8802, allocations: 2.391 kB / 0.9483 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.948e-06/0.8803, allocations: 0 / 0.9483 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.833e-05/0.8804, allocations: 1.031 kB / 0.9483 GB, free: 15.7 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.007129/0.8875, allocations: 2.69 MB / 0.9509 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.8876, allocations: 13.44 kB / 0.951 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.8885, allocations: 266.2 kB / 0.9512 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.892, allocations: 1.972 MB / 0.9531 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.8922, allocations: 113.5 kB / 0.9532 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.8924, allocations: 141.1 kB / 0.9534 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.8953, allocations: 1.51 MB / 0.9549 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.8953, allocations: 1.469 kB / 0.9549 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.8954, allocations: 66.44 kB / 0.9549 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.8955, allocations: 37.56 kB / 0.955 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.8978, allocations: 1.127 MB / 0.9561 GB, free: 11.61 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.009428/0.9073, allocations: 7.58 MB / 0.9635 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.9083, allocations: 474.8 kB / 0.9639 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.9089, allocations: 330.7 kB / 0.9642 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008764/0.9098, allocations: 1.156 MB / 0.9654 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.9099, allocations: 45.66 kB / 0.9654 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.855e-06/0.9099, allocations: 0 / 0.9654 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002301/0.9122, allocations: 0.9577 MB / 0.9663 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.9122, allocations: 56.84 kB / 0.9664 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.9146, allocations: 1.764 MB / 0.9681 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.21e-05/0.9146, allocations: 44.36 kB / 0.9682 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007577/0.9154, allocations: 0.9216 MB / 0.9691 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.9156, allocations: 215.5 kB / 0.9693 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.9159, allocations: 234.7 kB / 0.9695 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9161, allocations: 349.2 kB / 0.9698 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.9168, allocations: 327.7 kB / 0.9701 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.9178, allocations: 0.6945 MB / 0.9708 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.9194, allocations: 1.007 MB / 0.9718 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9195, allocations: 2.375 kB / 0.9718 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002289/0.9217, allocations: 1.22 MB / 0.973 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9218, allocations: 7.969 kB / 0.973 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.9218, allocations: 8.844 kB / 0.973 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.9218, allocations: 16.69 kB / 0.973 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.9228, allocations: 293.3 kB / 0.9733 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.9229, allocations: 22.98 kB / 0.9733 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.9243, allocations: 164.6 kB / 0.9735 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.9244, allocations: 49.25 kB / 0.9735 GB, free: 15.06 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.0007166/0.9251, allocations: 439.2 kB / 0.9739 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.9254, allocations: 188.8 kB / 0.9741 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.9272, allocations: 0.8757 MB / 0.975 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.9273, allocations: 5.469 kB / 0.975 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9273, allocations: 0 / 0.975 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/0.9286, allocations: 0.7955 MB / 0.9758 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.9326, allocations: 2.428 MB / 0.9781 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9326, allocations: 6.438 kB / 0.9781 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/0.9334, allocations: 182.6 kB / 0.9783 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.9334, allocations: 2.688 kB / 0.9783 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.9334, allocations: 24.2 kB / 0.9783 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.9335, allocations: 9.188 kB / 0.9783 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9335, allocations: 2.938 kB / 0.9783 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.9358, allocations: 1.34 MB / 0.9797 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.9364, allocations: 360 kB / 0.98 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.9367, allocations: 13.5 kB / 0.98 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9377, allocations: 62.06 kB / 0.9801 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9378, allocations: 47.22 kB / 0.9801 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.9379, allocations: 34.73 kB / 0.9802 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00157/0.9395, allocations: 1.23 MB / 0.9814 GB, free: 10 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9395, allocations: 0 / 0.9814 GB, free: 10 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001835/0.9413, allocations: 0.6533 MB / 0.982 GB, free: 9.844 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.001072/0.9424, allocations: 0.603 MB / 0.9826 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.9442, allocations: 0.8182 MB / 0.9834 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.9442, allocations: 6.875 kB / 0.9834 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.945, allocations: 354.6 kB / 0.9837 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/0.9503, allocations: 1.197 MB / 0.9849 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004705/0.955, allocations: 3.046 MB / 0.9879 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009944/0.956, allocations: 1.402 MB / 0.9892 GB, free: 4.816 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00151/0.9575, allocations: 383.6 kB / 0.9896 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.9578, allocations: 147.4 kB / 0.9897 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of SimCode: time 1.473e-06/0.9579, allocations: 0 / 0.9897 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of Templates: time 0.06757/1.025, allocations: 41.79 MB / 1.031 GB, free: 11.16 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)