Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9549/0.9549, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.219/2.219, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.994e-05, allocations: 3.766 kB / 0.8782 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01549/0.01551, allocations: 21.58 MB / 0.8993 GB, free: 15.55 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.02817, allocations: 9.424 MB / 0.9085 GB, free: 6.133 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.0305, allocations: 166.6 kB / 0.9086 GB, free: 5.969 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.03176, allocations: 0.6745 MB / 0.9093 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.03567, allocations: 2.506 MB / 0.9117 GB, free: 2.77 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.03906, allocations: 2.397 MB / 0.9141 GB, free: 376 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005906/0.04496, allocations: 6.786 MB / 0.9207 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.04703, allocations: 1.683 MB / 0.9223 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.05109, allocations: 3.277 MB / 0.9255 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.05298, allocations: 1.624 MB / 0.9271 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.05335, allocations: 200 kB / 0.9273 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.05419, allocations: 407.5 kB / 0.9277 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.05456, allocations: 0.6029 MB / 0.9283 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0008834/0.05545, allocations: 0.8807 MB / 0.9292 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.05743, allocations: 1.977 MB / 0.9311 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.05744, allocations: 0 / 0.9311 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.333e-06/0.05744, allocations: 4 kB / 0.9311 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.958e-05/0.05749, allocations: 0 / 0.9311 GB, free: 14.87 MB / 0.8542 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.002666/0.06015, allocations: 2.773 MB / 0.9338 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.06019, allocations: 12.03 kB / 0.9338 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.06073, allocations: 434.9 kB / 0.9342 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.06255, allocations: 1.9 MB / 0.9361 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.06262, allocations: 118.7 kB / 0.9362 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.06276, allocations: 164 kB / 0.9363 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.06414, allocations: 1.413 MB / 0.9377 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.06417, allocations: 4 kB / 0.9377 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.06425, allocations: 56 kB / 0.9378 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.06429, allocations: 36 kB / 0.9378 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.0651, allocations: 494.8 kB / 0.9383 GB, free: 7.199 MB / 0.8542 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.004387/0.06949, allocations: 5.832 MB / 0.944 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.07001, allocations: 253.6 kB / 0.9442 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.07018, allocations: 141.1 kB / 0.9444 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.0703, allocations: 40.42 kB / 0.9444 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.07033, allocations: 45.89 kB / 0.9444 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=59): time 2.014e-06/0.07034, allocations: 0 / 0.9444 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59): time 0.0007485/0.07108, allocations: 0.5506 MB / 0.945 GB, free: 148 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.07111, allocations: 55.91 kB / 0.945 GB, free: 80 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.07235, allocations: 1.514 MB / 0.9465 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.0724, allocations: 45.7 kB / 0.9466 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.07296, allocations: 1.062 MB / 0.9476 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.07309, allocations: 238.1 kB / 0.9478 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.07332, allocations: 301.1 kB / 0.9481 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.07347, allocations: 0.5277 MB / 0.9486 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.07371, allocations: 147.9 kB / 0.9488 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.07442, allocations: 1.251 MB / 0.95 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/0.0754, allocations: 1.165 MB / 0.9511 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.07541, allocations: 4 kB / 0.9511 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001186/0.07659, allocations: 1.118 MB / 0.9522 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.07661, allocations: 12 kB / 0.9522 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.07663, allocations: 16 kB / 0.9522 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.07666, allocations: 28 kB / 0.9523 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.07727, allocations: 327.5 kB / 0.9526 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.07729, allocations: 35.86 kB / 0.9526 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.07785, allocations: 162.9 kB / 0.9528 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.07792, allocations: 80.02 kB / 0.9528 GB, free: 7.207 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (171): * Single equations (assignments): 171 * 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.0002892/0.07821, allocations: 248 kB / 0.9531 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.0784, allocations: 218.6 kB / 0.9533 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.07906, allocations: 0.5421 MB / 0.9538 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.07907, allocations: 11.98 kB / 0.9538 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.07907, allocations: 4 kB / 0.9538 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000415/0.07949, allocations: 489.2 kB / 0.9543 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.08138, allocations: 1.841 MB / 0.9561 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.08138, allocations: 4 kB / 0.9561 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.08173, allocations: 147.8 kB / 0.9562 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.08173, allocations: 12.25 kB / 0.9563 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.08176, allocations: 15.98 kB / 0.9563 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.08176, allocations: 4 kB / 0.9563 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.08177, allocations: 7.938 kB / 0.9563 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.08267, allocations: 0.8634 MB / 0.9571 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.08297, allocations: 282.5 kB / 0.9574 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.08309, allocations: 16 kB / 0.9574 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.08346, allocations: 43.95 kB / 0.9575 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.08355, allocations: 56.34 kB / 0.9575 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.08359, allocations: 35.97 kB / 0.9575 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007699/0.08436, allocations: 0.8731 MB / 0.9584 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.08436, allocations: 4 kB / 0.9584 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009/0.08526, allocations: 0.5457 MB / 0.9589 GB, free: 0.7461 MB / 0.8698 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.0002993/0.08556, allocations: 191 kB / 0.9591 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006773/0.08624, allocations: 0.5767 MB / 0.9597 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.08624, allocations: 7.828 kB / 0.9597 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.08646, allocations: 195.9 kB / 0.9599 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.08868, allocations: 0.9595 MB / 0.9608 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.09183, allocations: 2.942 MB / 0.9637 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.09207, allocations: 356.6 kB / 0.964 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007112/0.09278, allocations: 334.3 kB / 0.9643 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.09299, allocations: 144.5 kB / 0.9645 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/0.093, allocations: 0 / 0.9645 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of Templates: time 0.03825/0.1313, allocations: 34.24 MB / 0.9979 GB, free: 9.492 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.139350821729749]