Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001005/0.001005, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001194/0.001194, allocations: 161 kB / 23.82 MB, free: 0.75 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 1/1, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.844/1.844, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.687e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02392/0.02394, allocations: 21.17 MB / 0.8078 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.04106, allocations: 8.29 MB / 0.8159 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.04557, allocations: 154.7 kB / 0.816 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.04801, allocations: 0.6707 MB / 0.8167 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.05557, allocations: 2.451 MB / 0.8191 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.06059, allocations: 1.926 MB / 0.821 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.07076, allocations: 6.652 MB / 0.8274 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.07426, allocations: 1.65 MB / 0.8291 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.0854, allocations: 2.944 MB / 0.8319 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.08745, allocations: 1.62 MB / 0.8335 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.08772, allocations: 200 kB / 0.8337 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008682/0.08858, allocations: 423.5 kB / 0.8341 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.08898, allocations: 0.5913 MB / 0.8347 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008609/0.08984, allocations: 0.8535 MB / 0.8355 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.09206, allocations: 1.946 MB / 0.8374 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.09207, allocations: 0 / 0.8374 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.443e-06/0.09207, allocations: 0 / 0.8374 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.0921, allocations: 0 / 0.8374 GB, free: 8.84 MB / 0.7917 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.002705/0.0948, allocations: 2.674 MB / 0.84 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.09484, allocations: 8.031 kB / 0.84 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.09537, allocations: 415 kB / 0.8404 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.09749, allocations: 2.026 MB / 0.8424 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.09755, allocations: 106.7 kB / 0.8425 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.09781, allocations: 144 kB / 0.8427 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.09915, allocations: 1.413 MB / 0.844 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.09918, allocations: 7.938 kB / 0.844 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.09925, allocations: 56 kB / 0.8441 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.09928, allocations: 43.98 kB / 0.8441 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.1, allocations: 494.8 kB / 0.8446 GB, free: 1.184 MB / 0.7917 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.004249/0.1043, allocations: 5.712 MB / 0.8502 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.1047, allocations: 253.6 kB / 0.8504 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.1049, allocations: 141.9 kB / 0.8506 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.105, allocations: 40.41 kB / 0.8506 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.105, allocations: 45.89 kB / 0.8506 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=59): time 1.954e-06/0.105, allocations: 0 / 0.8506 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59): time 0.0007115/0.1057, allocations: 0.535 MB / 0.8512 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.1057, allocations: 63.91 kB / 0.8512 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1069, allocations: 1.383 MB / 0.8526 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.1069, allocations: 49.64 kB / 0.8526 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.1074, allocations: 1.026 MB / 0.8536 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1075, allocations: 226.1 kB / 0.8538 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1077, allocations: 240.4 kB / 0.8541 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1079, allocations: 0.516 MB / 0.8546 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1081, allocations: 126.5 kB / 0.8547 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.1087, allocations: 0.9014 MB / 0.8556 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.1093, allocations: 0.7778 MB / 0.8563 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1093, allocations: 4 kB / 0.8563 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0009105/0.1102, allocations: 0.8676 MB / 0.8572 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1102, allocations: 8 kB / 0.8572 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.1103, allocations: 12 kB / 0.8572 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1103, allocations: 16 kB / 0.8572 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.1108, allocations: 259.6 kB / 0.8575 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1108, allocations: 19.94 kB / 0.8575 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.1112, allocations: 123.5 kB / 0.8576 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.1113, allocations: 48 kB / 0.8577 GB, free: 3.102 MB / 0.8073 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.0002446/0.1115, allocations: 228.2 kB / 0.8579 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.1117, allocations: 202.8 kB / 0.8581 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.1124, allocations: 0.5363 MB / 0.8586 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.1124, allocations: 4 kB / 0.8586 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1124, allocations: 0 / 0.8586 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004173/0.1128, allocations: 0.4973 MB / 0.8591 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.1146, allocations: 1.799 MB / 0.8608 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1146, allocations: 4 kB / 0.8608 GB, free: 15.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.115, allocations: 156 kB / 0.861 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.115, allocations: 4 kB / 0.861 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.115, allocations: 16 kB / 0.861 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.115, allocations: 7.984 kB / 0.861 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.115, allocations: 11.88 kB / 0.861 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.1158, allocations: 0.8464 MB / 0.8619 GB, free: 14.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.1161, allocations: 266.6 kB / 0.8621 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1162, allocations: 20 kB / 0.8621 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.1166, allocations: 43.95 kB / 0.8622 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.1167, allocations: 52.3 kB / 0.8622 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.1168, allocations: 39.97 kB / 0.8623 GB, free: 14.18 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000734/0.1175, allocations: 0.8217 MB / 0.8631 GB, free: 13.37 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1175, allocations: 0 / 0.8631 GB, free: 13.37 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007608/0.1183, allocations: 0.5262 MB / 0.8636 GB, free: 12.84 MB / 0.823 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.0002792/0.1185, allocations: 202.9 kB / 0.8638 GB, free: 12.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.1191, allocations: 495.1 kB / 0.8642 GB, free: 12.15 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1191, allocations: 4 kB / 0.8642 GB, free: 12.15 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.1194, allocations: 195.6 kB / 0.8644 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.1214, allocations: 0.9443 MB / 0.8654 GB, free: 11.03 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.1242, allocations: 2.809 MB / 0.8681 GB, free: 8.133 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1245, allocations: 340.2 kB / 0.8684 GB, free: 7.777 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005895/0.125, allocations: 320 kB / 0.8687 GB, free: 7.465 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.1252, allocations: 136.5 kB / 0.8689 GB, free: 7.332 MB / 0.823 GB Notification: Performance of SimCode: time 8.42e-07/0.1252, allocations: 4 kB / 0.8689 GB, free: 7.328 MB / 0.823 GB Notification: Performance of Templates: time 0.03337/0.1586, allocations: 30.91 MB / 0.899 GB, free: 9.195 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.098490091972053]