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.001463/0.001463, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001677/0.001677, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9504/0.9504, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.365/2.365, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.633e-06/1.633e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.71e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02777/0.0278, allocations: 21.26 MB / 0.9105 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.04643, allocations: 9.36 MB / 0.9197 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/0.04987, allocations: 166.6 kB / 0.9198 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.05163, allocations: 0.6862 MB / 0.9205 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.05611, allocations: 2.502 MB / 0.9229 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.05994, allocations: 2.397 MB / 0.9253 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.006745/0.06669, allocations: 6.785 MB / 0.9319 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.06904, allocations: 1.687 MB / 0.9335 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007093/0.07613, allocations: 3.269 MB / 0.9367 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.07863, allocations: 1.624 MB / 0.9383 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.07912, allocations: 200 kB / 0.9385 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.08034, allocations: 411.4 kB / 0.9389 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005002/0.08084, allocations: 0.6029 MB / 0.9395 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.08211, allocations: 0.8846 MB / 0.9404 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.08477, allocations: 1.97 MB / 0.9423 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.08477, allocations: 4 kB / 0.9423 GB, free: 3.785 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.08477, allocations: 0 / 0.9423 GB, free: 3.785 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.871e-05/0.08485, allocations: 8 kB / 0.9423 GB, free: 3.777 MB / 0.9011 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.0033/0.08815, allocations: 2.788 MB / 0.945 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.08819, allocations: 12.62 kB / 0.945 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.08884, allocations: 434.8 kB / 0.9454 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.09098, allocations: 1.873 MB / 0.9473 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.09105, allocations: 118.7 kB / 0.9474 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.0912, allocations: 164 kB / 0.9475 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.09257, allocations: 1.333 MB / 0.9488 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.0926, allocations: 4 kB / 0.9488 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.09267, allocations: 60 kB / 0.9489 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.09272, allocations: 36 kB / 0.9489 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.09324, allocations: 403.7 kB / 0.9493 GB, free: 12.28 MB / 0.9167 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.005155/0.0984, allocations: 5.862 MB / 0.955 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.0989, allocations: 229.5 kB / 0.9553 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.09902, allocations: 129.1 kB / 0.9554 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.09916, allocations: 50.67 kB / 0.9554 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.09918, allocations: 45.89 kB / 0.9555 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=59): time 2.535e-06/0.09919, allocations: 0 / 0.9555 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of matching and sorting (n=59): time 0.0007265/0.09991, allocations: 0.5076 MB / 0.956 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.09994, allocations: 59.91 kB / 0.956 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.1011, allocations: 1.478 MB / 0.9575 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.1011, allocations: 49.7 kB / 0.9575 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/0.1017, allocations: 1.085 MB / 0.9586 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1019, allocations: 226.1 kB / 0.9588 GB, free: 2.281 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.1021, allocations: 304.9 kB / 0.9591 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1022, allocations: 0.5354 MB / 0.9596 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1024, allocations: 139.9 kB / 0.9597 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.103, allocations: 1.235 MB / 0.961 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.104, allocations: 1.141 MB / 0.9621 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.104, allocations: 4 kB / 0.9621 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001106/0.1051, allocations: 1.071 MB / 0.9631 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1051, allocations: 12 kB / 0.9631 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.1051, allocations: 23.98 kB / 0.9632 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.1052, allocations: 24 kB / 0.9632 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.1057, allocations: 327.5 kB / 0.9635 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.1057, allocations: 39.84 kB / 0.9635 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.1064, allocations: 163.1 kB / 0.9637 GB, free: 12.49 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.1064, allocations: 63.98 kB / 0.9637 GB, free: 12.43 MB / 0.9323 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.0003036/0.1067, allocations: 252 kB / 0.964 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.1069, allocations: 214.7 kB / 0.9642 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.1075, allocations: 0.4987 MB / 0.9647 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1075, allocations: 7.984 kB / 0.9647 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1075, allocations: 4 kB / 0.9647 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003167/0.1078, allocations: 457.2 kB / 0.9651 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.1094, allocations: 1.532 MB / 0.9666 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1095, allocations: 4 kB / 0.9666 GB, free: 9.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.1098, allocations: 156 kB / 0.9668 GB, free: 9.188 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1098, allocations: 4 kB / 0.9668 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1098, allocations: 19.98 kB / 0.9668 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1098, allocations: 4 kB / 0.9668 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.1098, allocations: 4 kB / 0.9668 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.1105, allocations: 0.8125 MB / 0.9676 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.1108, allocations: 274.5 kB / 0.9679 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.1109, allocations: 16 kB / 0.9679 GB, free: 8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.1113, allocations: 43.95 kB / 0.9679 GB, free: 7.957 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.1114, allocations: 56.34 kB / 0.968 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.1114, allocations: 31.92 kB / 0.968 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000705/0.1121, allocations: 0.8064 MB / 0.9688 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1121, allocations: 0 / 0.9688 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009701/0.1131, allocations: 0.5496 MB / 0.9693 GB, free: 6.492 MB / 0.9323 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.0002843/0.1134, allocations: 194.9 kB / 0.9695 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.114, allocations: 0.5454 MB / 0.97 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.114, allocations: 4.188 kB / 0.97 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1142, allocations: 175.6 kB / 0.9702 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.1161, allocations: 0.9585 MB / 0.9711 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1194, allocations: 2.93 MB / 0.974 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1196, allocations: 356.6 kB / 0.9743 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007269/0.1203, allocations: 302.3 kB / 0.9746 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.1216, allocations: 0.7749 MB / 0.9754 GB, free: 168 kB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/0.1216, allocations: 0 / 0.9754 GB, free: 168 kB / 0.9323 GB Notification: Performance of Templates: time 0.04722/0.1688, allocations: 34.5 MB / 1.009 GB, free: 14.52 MB / 0.9792 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.089252817910165]