Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00141/0.00141, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001217/0.001217, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9674/0.9674, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.844/1.844, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.728e-05/3.979e-05, allocations: 14.19 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05637/0.05641, allocations: 80.21 MB / 0.8899 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.07887, allocations: 19.43 MB / 0.9088 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.0825, allocations: 154.7 kB / 0.909 GB, free: 14 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.08561, allocations: 1.253 MB / 0.9102 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.008789/0.0944, allocations: 3.998 MB / 0.9141 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005136/0.09954, allocations: 2.209 MB / 0.9163 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01488/0.1144, allocations: 6.868 MB / 0.923 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008796/0.1232, allocations: 1.666 MB / 0.9246 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02564/0.1489, allocations: 3.609 MB / 0.9281 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00953/0.1584, allocations: 1.604 MB / 0.9297 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0005402/0.1589, allocations: 196 kB / 0.9299 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008879/0.1678, allocations: 1.356 MB / 0.9312 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.1684, allocations: 0.5913 MB / 0.9318 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.1709, allocations: 0.8534 MB / 0.9326 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.1755, allocations: 2.644 MB / 0.9352 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.1755, allocations: 4 kB / 0.9352 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1755, allocations: 0 / 0.9352 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.1756, allocations: 4 kB / 0.9352 GB, free: 3.055 MB / 0.8855 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.002963/0.1785, allocations: 2.806 MB / 0.938 GB, free: 196 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1786, allocations: 8.031 kB / 0.938 GB, free: 188 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.1792, allocations: 420.3 kB / 0.9384 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.1814, allocations: 2.006 MB / 0.9403 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.1814, allocations: 106.7 kB / 0.9404 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1816, allocations: 148 kB / 0.9406 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.183, allocations: 1.409 MB / 0.9419 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.1831, allocations: 7.953 kB / 0.942 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.1831, allocations: 60 kB / 0.942 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.1832, allocations: 43.88 kB / 0.9421 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.184, allocations: 498.8 kB / 0.9425 GB, free: 11.27 MB / 0.9011 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.004623/0.1886, allocations: 5.712 MB / 0.9481 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.189, allocations: 254.6 kB / 0.9483 GB, free: 5.129 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1892, allocations: 146.7 kB / 0.9485 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.1895, allocations: 112.4 kB / 0.9486 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1895, allocations: 45.88 kB / 0.9486 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=59): time 3.116e-06/0.1895, allocations: 0 / 0.9486 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=59): time 0.0008688/0.1904, allocations: 0.539 MB / 0.9492 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1904, allocations: 59.91 kB / 0.9492 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.1916, allocations: 1.39 MB / 0.9506 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.1916, allocations: 45.7 kB / 0.9506 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.1921, allocations: 1.022 MB / 0.9516 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1922, allocations: 234.1 kB / 0.9518 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1924, allocations: 236.4 kB / 0.9521 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1926, allocations: 0.5238 MB / 0.9526 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1928, allocations: 130.5 kB / 0.9527 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.1933, allocations: 0.9014 MB / 0.9536 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.194, allocations: 0.7661 MB / 0.9543 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.194, allocations: 8 kB / 0.9543 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001006/0.195, allocations: 0.86 MB / 0.9552 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.195, allocations: 12 kB / 0.9552 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.195, allocations: 12.16 kB / 0.9552 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.195, allocations: 16 kB / 0.9552 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.1956, allocations: 267.5 kB / 0.9555 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.1956, allocations: 19.94 kB / 0.9555 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.1961, allocations: 123.2 kB / 0.9556 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.1962, allocations: 48 kB / 0.9557 GB, free: 13.1 MB / 0.9167 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.0003073/0.1965, allocations: 240.1 kB / 0.9559 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.1967, allocations: 194.9 kB / 0.9561 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.1974, allocations: 0.5328 MB / 0.9566 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1974, allocations: 11.94 kB / 0.9566 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1974, allocations: 0 / 0.9566 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004379/0.1978, allocations: 493.2 kB / 0.9571 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.1998, allocations: 1.807 MB / 0.9588 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1998, allocations: 0 / 0.9588 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.2002, allocations: 151.8 kB / 0.959 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.2002, allocations: 7.938 kB / 0.959 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.2002, allocations: 19.98 kB / 0.959 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2002, allocations: 8.25 kB / 0.959 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2002, allocations: 3.938 kB / 0.959 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.2011, allocations: 0.8503 MB / 0.9599 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.2014, allocations: 270.6 kB / 0.9601 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2015, allocations: 15.94 kB / 0.9601 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.2019, allocations: 47.89 kB / 0.9602 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.202, allocations: 52.41 kB / 0.9602 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.2021, allocations: 43.97 kB / 0.9603 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007432/0.2028, allocations: 0.8217 MB / 0.9611 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2028, allocations: 0 / 0.9611 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001379/0.2042, allocations: 0.7012 MB / 0.9617 GB, free: 6.668 MB / 0.9167 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.0008263/0.205, allocations: 0.5973 MB / 0.9623 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006762/0.2057, allocations: 493.5 kB / 0.9628 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2057, allocations: 4 kB / 0.9628 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2059, allocations: 193.3 kB / 0.963 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.2085, allocations: 0.9438 MB / 0.9639 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.2121, allocations: 2.806 MB / 0.9667 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.2124, allocations: 348.2 kB / 0.967 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008539/0.2133, allocations: 319.1 kB / 0.9673 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.2135, allocations: 132.5 kB / 0.9674 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of SimCode: time 2.084e-06/0.2135, allocations: 0 / 0.9674 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of Templates: time 0.04243/0.2559, allocations: 36.59 MB / 1.003 GB, free: 12.96 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.084957304876298]