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.0009832/0.0009832, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001019/0.001019, allocations: 161 kB / 24.17 MB, free: 332 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.945/0.945, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.332e-06/1.332e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.934e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01543/0.01545, allocations: 21.08 MB / 0.7807 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.0298, allocations: 8.477 MB / 0.7889 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.03445, allocations: 159.5 kB / 0.7891 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.03667, allocations: 0.6669 MB / 0.7897 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.04332, allocations: 2.455 MB / 0.7921 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.04653, allocations: 1.914 MB / 0.794 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005752/0.05228, allocations: 6.665 MB / 0.8005 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.05457, allocations: 1.704 MB / 0.8022 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.05789, allocations: 3.113 MB / 0.8052 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.05938, allocations: 1.522 MB / 0.8067 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.05961, allocations: 196.5 kB / 0.8069 GB, free: 6.672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006897/0.0603, allocations: 399.5 kB / 0.8073 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.06063, allocations: 0.5803 MB / 0.8078 GB, free: 5.699 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.06133, allocations: 0.8457 MB / 0.8087 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.06291, allocations: 1.912 MB / 0.8105 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.06292, allocations: 1.625 kB / 0.8105 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.443e-06/0.06292, allocations: 4 kB / 0.8105 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.06294, allocations: 0 / 0.8105 GB, free: 2.93 MB / 0.7605 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.002173/0.06511, allocations: 2.483 MB / 0.813 GB, free: 416 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.06515, allocations: 8.031 kB / 0.813 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.06561, allocations: 321.2 kB / 0.8133 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.06707, allocations: 1.353 MB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/0.06712, allocations: 107.7 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.06724, allocations: 148 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.06827, allocations: 1.315 MB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.0683, allocations: 7.938 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.06836, allocations: 55.98 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.0684, allocations: 40.78 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.06886, allocations: 386.6 kB / 0.8166 GB, free: 12.47 MB / 0.7761 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.003285/0.07214, allocations: 4.223 MB / 0.8207 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.07244, allocations: 271.6 kB / 0.821 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.07255, allocations: 117.1 kB / 0.8211 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.56e-05/0.07265, allocations: 32.48 kB / 0.8211 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.07267, allocations: 46.94 kB / 0.8212 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=59): time 1.713e-06/0.07268, allocations: 0 / 0.8212 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59): time 0.0005281/0.0732, allocations: 361.9 kB / 0.8215 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.07323, allocations: 59.91 kB / 0.8216 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.07408, allocations: 1.277 MB / 0.8228 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.07412, allocations: 45.69 kB / 0.8229 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.07445, allocations: 0.72 MB / 0.8236 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.07456, allocations: 234 kB / 0.8238 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.07474, allocations: 222.7 kB / 0.824 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.07484, allocations: 345.9 kB / 0.8243 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.07504, allocations: 129.4 kB / 0.8244 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.07546, allocations: 0.7592 MB / 0.8252 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.07599, allocations: 0.6511 MB / 0.8258 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.076, allocations: 0 / 0.8258 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006706/0.07667, allocations: 0.6661 MB / 0.8265 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.07669, allocations: 20.19 kB / 0.8265 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.0767, allocations: 8 kB / 0.8265 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.07672, allocations: 16 kB / 0.8265 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.0772, allocations: 267.6 kB / 0.8268 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.07721, allocations: 19.94 kB / 0.8268 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.0776, allocations: 123.2 kB / 0.8269 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.07765, allocations: 40 kB / 0.8269 GB, free: 1.293 MB / 0.7761 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.0002057/0.07785, allocations: 180.3 kB / 0.8271 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.07797, allocations: 127.8 kB / 0.8272 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.07843, allocations: 441 kB / 0.8277 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.07843, allocations: 8 kB / 0.8277 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.07844, allocations: 0 / 0.8277 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002401/0.07868, allocations: 389.3 kB / 0.828 GB, free: 112 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.07994, allocations: 1.306 MB / 0.8293 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.07995, allocations: 8 kB / 0.8293 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.08028, allocations: 159.8 kB / 0.8295 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.08029, allocations: 12.23 kB / 0.8295 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.08031, allocations: 16 kB / 0.8295 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.08032, allocations: 7.938 kB / 0.8295 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.08032, allocations: 0 / 0.8295 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.08084, allocations: 0.6539 MB / 0.8301 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.08108, allocations: 206.7 kB / 0.8303 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.08118, allocations: 16 kB / 0.8304 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.08149, allocations: 35.97 kB / 0.8304 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.08157, allocations: 60.34 kB / 0.8305 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.0816, allocations: 23.97 kB / 0.8305 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004542/0.08205, allocations: 0.6415 MB / 0.8311 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.08205, allocations: 0 / 0.8311 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006584/0.08271, allocations: 0.5223 MB / 0.8316 GB, free: 12.34 MB / 0.7917 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.000254/0.08297, allocations: 180 kB / 0.8318 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.08341, allocations: 443.4 kB / 0.8322 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/0.08343, allocations: 28.5 kB / 0.8322 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.08358, allocations: 156.8 kB / 0.8324 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.08535, allocations: 0.9399 MB / 0.8333 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.08791, allocations: 2.729 MB / 0.836 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.08811, allocations: 328.2 kB / 0.8363 GB, free: 7.465 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005319/0.08865, allocations: 285.9 kB / 0.8365 GB, free: 7.188 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.0897, allocations: 0.6335 MB / 0.8372 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of SimCode: time 1.072e-06/0.0897, allocations: 0 / 0.8372 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of Templates: time 0.03598/0.1257, allocations: 33.38 MB / 0.8698 GB, free: 6.031 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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: 5.785004157107323]