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.001323/0.001323, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009638/0.0009638, allocations: 169.9 kB / 24.86 MB, free: 9.27 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.938/0.938, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.973/1.973, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.382e-06/1.382e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.414e-05, allocations: 3.156 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.03597/0.036, allocations: 20.99 MB / 0.8333 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.05597, allocations: 8.245 MB / 0.8413 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005236/0.06121, allocations: 154.6 kB / 0.8415 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.06395, allocations: 0.6708 MB / 0.8421 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00797/0.07192, allocations: 2.459 MB / 0.8445 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005201/0.07712, allocations: 1.922 MB / 0.8464 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008531/0.08565, allocations: 6.681 MB / 0.8529 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.08796, allocations: 1.654 MB / 0.8546 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.09207, allocations: 3.173 MB / 0.8577 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.09377, allocations: 1.598 MB / 0.8592 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.09402, allocations: 196 kB / 0.8594 GB, free: 1.594 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.09479, allocations: 399.5 kB / 0.8598 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003794/0.09517, allocations: 0.5796 MB / 0.8604 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0007664/0.09593, allocations: 0.8457 MB / 0.8612 GB, free: 15.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.09777, allocations: 1.907 MB / 0.863 GB, free: 13.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.09778, allocations: 3.938 kB / 0.863 GB, free: 13.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.382e-06/0.09778, allocations: 0 / 0.863 GB, free: 13.86 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.0978, allocations: 4 kB / 0.863 GB, free: 13.85 MB / 0.823 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.002492/0.1003, allocations: 2.658 MB / 0.8656 GB, free: 11.14 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1003, allocations: 8.031 kB / 0.8657 GB, free: 11.13 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.1009, allocations: 407 kB / 0.866 GB, free: 10.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.1025, allocations: 1.773 MB / 0.8678 GB, free: 8.898 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.1026, allocations: 110.7 kB / 0.8679 GB, free: 8.789 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1027, allocations: 148 kB / 0.868 GB, free: 8.645 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1039, allocations: 1.335 MB / 0.8693 GB, free: 7.137 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.1039, allocations: 3.938 kB / 0.8693 GB, free: 7.133 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.104, allocations: 64 kB / 0.8694 GB, free: 7.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.104, allocations: 39.98 kB / 0.8694 GB, free: 7.031 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.1045, allocations: 403.7 kB / 0.8698 GB, free: 6.621 MB / 0.823 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.00417/0.1087, allocations: 5.746 MB / 0.8754 GB, free: 0.707 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.109, allocations: 230.6 kB / 0.8756 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1091, allocations: 121.1 kB / 0.8758 GB, free: 360 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1093, allocations: 48.41 kB / 0.8758 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1093, allocations: 45.92 kB / 0.8758 GB, free: 256 kB / 0.823 GB Notification: Performance of pre-optimization done (n=59): time 1.974e-06/0.1093, allocations: 0 / 0.8758 GB, free: 256 kB / 0.823 GB Notification: Performance of matching and sorting (n=59): time 0.0006124/0.1099, allocations: 0.4884 MB / 0.8763 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1099, allocations: 59.91 kB / 0.8764 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009293/0.1109, allocations: 1.346 MB / 0.8777 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.1109, allocations: 45.7 kB / 0.8777 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.1115, allocations: 1.03 MB / 0.8787 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1116, allocations: 238 kB / 0.879 GB, free: 13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.1118, allocations: 232.4 kB / 0.8792 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1119, allocations: 0.5315 MB / 0.8797 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1121, allocations: 118.5 kB / 0.8798 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.1126, allocations: 0.9012 MB / 0.8807 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.1132, allocations: 0.7348 MB / 0.8814 GB, free: 10 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1132, allocations: 0 / 0.8814 GB, free: 10 MB / 0.8386 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008845/0.1141, allocations: 0.8433 MB / 0.8822 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1141, allocations: 12 kB / 0.8823 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1141, allocations: 8.906 kB / 0.8823 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1141, allocations: 16 kB / 0.8823 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.1146, allocations: 259.6 kB / 0.8825 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1146, allocations: 23.92 kB / 0.8826 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.1151, allocations: 119.2 kB / 0.8827 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.1151, allocations: 43.98 kB / 0.8827 GB, free: 8.684 MB / 0.8386 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.0002616/0.1154, allocations: 220.2 kB / 0.8829 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1156, allocations: 202.8 kB / 0.8831 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005844/0.1161, allocations: 0.4975 MB / 0.8836 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.1162, allocations: 11.98 kB / 0.8836 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1162, allocations: 0 / 0.8836 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003565/0.1165, allocations: 449.3 kB / 0.884 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.118, allocations: 1.515 MB / 0.8855 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.118, allocations: 0 / 0.8855 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.1184, allocations: 143.8 kB / 0.8857 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1184, allocations: 15.98 kB / 0.8857 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1184, allocations: 12 kB / 0.8857 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.1184, allocations: 7.938 kB / 0.8857 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1184, allocations: 4 kB / 0.8857 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.1191, allocations: 0.8112 MB / 0.8865 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.1194, allocations: 262.5 kB / 0.8867 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1195, allocations: 15.98 kB / 0.8867 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.1199, allocations: 35.97 kB / 0.8868 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.1199, allocations: 64.28 kB / 0.8868 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.12, allocations: 31.97 kB / 0.8869 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005611/0.1205, allocations: 0.7472 MB / 0.8876 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.1205, allocations: 4 kB / 0.8876 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009173/0.1215, allocations: 0.5184 MB / 0.8881 GB, free: 2.961 MB / 0.8386 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.000311/0.1218, allocations: 198.9 kB / 0.8883 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005228/0.1223, allocations: 455.1 kB / 0.8887 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1223, allocations: 64 / 0.8887 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1225, allocations: 183.6 kB / 0.8889 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.1247, allocations: 0.95 MB / 0.8898 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.128, allocations: 2.79 MB / 0.8926 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1282, allocations: 340.2 kB / 0.8929 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006708/0.1289, allocations: 288.2 kB / 0.8932 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.1301, allocations: 0.7553 MB / 0.8939 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.1301, allocations: 4 kB / 0.8939 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.03829/0.1684, allocations: 34.07 MB / 0.9272 GB, free: 11.71 MB / 0.8855 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.065870778635144]