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.0009723/0.0009723, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009375/0.0009375, allocations: 177 kB / 23.36 MB, free: 1.133 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.508/2.508, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.964e-06/1.964e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.447e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02258/0.0226, allocations: 21.34 MB / 0.8595 GB, free: 8.754 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.0443, allocations: 9.605 MB / 0.8688 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/0.04839, allocations: 166.6 kB / 0.869 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.05055, allocations: 0.6784 MB / 0.8697 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.007104/0.05765, allocations: 2.498 MB / 0.8721 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005241/0.06289, allocations: 2.381 MB / 0.8744 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.007421/0.07031, allocations: 6.785 MB / 0.8811 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.07277, allocations: 1.755 MB / 0.8828 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00391/0.07668, allocations: 3.194 MB / 0.8859 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.07841, allocations: 1.534 MB / 0.8874 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.07866, allocations: 200 kB / 0.8876 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.07976, allocations: 423.5 kB / 0.888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.08014, allocations: 0.6029 MB / 0.8886 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007838/0.08093, allocations: 0.8768 MB / 0.8894 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.08307, allocations: 1.973 MB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.08308, allocations: 7.922 kB / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/0.08308, allocations: 0 / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.931e-05/0.08311, allocations: 4 kB / 0.8914 GB, free: 7.988 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.002397/0.0855, allocations: 2.609 MB / 0.8939 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.08554, allocations: 12.62 kB / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.08603, allocations: 332.3 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.08773, allocations: 1.431 MB / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.08779, allocations: 118.7 kB / 0.8958 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.08793, allocations: 156 kB / 0.8959 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.08911, allocations: 1.314 MB / 0.8972 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.08914, allocations: 11.94 kB / 0.8972 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.08921, allocations: 56 kB / 0.8973 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.08925, allocations: 36 kB / 0.8973 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.08974, allocations: 387.5 kB / 0.8977 GB, free: 1.262 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.004096/0.09384, allocations: 4.305 MB / 0.9019 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.09416, allocations: 266.6 kB / 0.9021 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.09428, allocations: 110.7 kB / 0.9022 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.0944, allocations: 44.41 kB / 0.9023 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.09442, allocations: 43 kB / 0.9023 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 1.934e-06/0.09442, allocations: 0 / 0.9023 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.000497/0.09492, allocations: 369.9 kB / 0.9027 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.09495, allocations: 63.84 kB / 0.9027 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.09592, allocations: 1.416 MB / 0.9041 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.09597, allocations: 45.7 kB / 0.9041 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.09633, allocations: 0.7558 MB / 0.9049 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.09645, allocations: 226.1 kB / 0.9051 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.09666, allocations: 287.3 kB / 0.9054 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.09676, allocations: 361.8 kB / 0.9057 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.09698, allocations: 146.8 kB / 0.9059 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.09758, allocations: 1.009 MB / 0.9068 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.09833, allocations: 0.9464 MB / 0.9078 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.09834, allocations: 4 kB / 0.9078 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001191/0.09953, allocations: 0.8612 MB / 0.9086 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.09956, allocations: 16 kB / 0.9086 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.09957, allocations: 16 kB / 0.9086 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.0996, allocations: 24.75 kB / 0.9087 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.1002, allocations: 347.5 kB / 0.909 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/0.1002, allocations: 43.84 kB / 0.909 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.1008, allocations: 154.9 kB / 0.9092 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.1008, allocations: 63.98 kB / 0.9092 GB, free: 4.547 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.0002637/0.1011, allocations: 204.1 kB / 0.9094 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1012, allocations: 123.8 kB / 0.9096 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.1017, allocations: 447.2 kB / 0.91 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.1017, allocations: 7.984 kB / 0.91 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1017, allocations: 4 kB / 0.91 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002632/0.102, allocations: 385.3 kB / 0.9104 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.1034, allocations: 1.342 MB / 0.9117 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1034, allocations: 0 / 0.9117 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1038, allocations: 159.8 kB / 0.9118 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1038, allocations: 11.88 kB / 0.9118 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.1038, allocations: 16 kB / 0.9119 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1038, allocations: 4 kB / 0.9119 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1038, allocations: 3.984 kB / 0.9119 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.1044, allocations: 0.6588 MB / 0.9125 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.1047, allocations: 218.5 kB / 0.9127 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.1048, allocations: 16 kB / 0.9127 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.1052, allocations: 39.95 kB / 0.9128 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.1052, allocations: 52.34 kB / 0.9128 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.1053, allocations: 23.98 kB / 0.9128 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005387/0.1058, allocations: 0.71 MB / 0.9135 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1058, allocations: 4 kB / 0.9135 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009354/0.1067, allocations: 0.5458 MB / 0.9141 GB, free: 15.39 MB / 0.8855 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.000297/0.107, allocations: 172 kB / 0.9142 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005818/0.1076, allocations: 0.5216 MB / 0.9147 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.092e-05/0.1076, allocations: 20.5 kB / 0.9148 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1078, allocations: 170.6 kB / 0.9149 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.11, allocations: 0.9471 MB / 0.9159 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.113, allocations: 2.865 MB / 0.9187 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1133, allocations: 344.6 kB / 0.919 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006747/0.1139, allocations: 296.2 kB / 0.9193 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.1151, allocations: 0.6609 MB / 0.9199 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/0.1151, allocations: 0 / 0.9199 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of Templates: time 0.04268/0.1578, allocations: 34.27 MB / 0.9534 GB, free: 7.891 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 -s gbode -gbm=radauIIA3 -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.13806849392131]