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.001067/0.001067, 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.001866/0.001866, allocations: 161 kB / 24.16 MB, free: 336 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.9943/0.9943, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.324 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.132e-06/1.132e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.127e-05, allocations: 3 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01408/0.01409, allocations: 21.03 MB / 0.7806 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.0268, allocations: 8.471 MB / 0.7888 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.02861, allocations: 150.7 kB / 0.789 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.02973, allocations: 0.6753 MB / 0.7896 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.03328, allocations: 2.459 MB / 0.792 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.03601, allocations: 1.925 MB / 0.7939 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005874/0.04189, allocations: 6.658 MB / 0.8004 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.04381, allocations: 1.682 MB / 0.8021 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.04746, allocations: 3.171 MB / 0.8052 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.04881, allocations: 1.512 MB / 0.8066 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.04899, allocations: 196 kB / 0.8068 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.04959, allocations: 396.7 kB / 0.8072 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.04994, allocations: 0.5796 MB / 0.8078 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006541/0.05059, allocations: 0.8457 MB / 0.8086 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.05215, allocations: 1.916 MB / 0.8105 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.05215, allocations: 0 / 0.8105 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.583e-06/0.05215, allocations: 0 / 0.8105 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.05217, allocations: 0.8125 kB / 0.8105 GB, free: 2.941 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.002151/0.05432, allocations: 2.486 MB / 0.8129 GB, free: 424 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.05435, allocations: 9.656 kB / 0.8129 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.05475, allocations: 316.3 kB / 0.8132 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.05622, allocations: 1.357 MB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.05628, allocations: 102.7 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.05642, allocations: 149.1 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.05746, allocations: 1.318 MB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.05749, allocations: 5.062 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.05756, allocations: 56 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.0576, allocations: 39.94 kB / 0.8162 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.05806, allocations: 390.7 kB / 0.8165 GB, free: 12.48 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.00346/0.06152, allocations: 4.219 MB / 0.8206 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.06182, allocations: 278 kB / 0.8209 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.06194, allocations: 113.1 kB / 0.821 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.06205, allocations: 36.48 kB / 0.8211 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.06208, allocations: 46.98 kB / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=59): time 1.984e-06/0.06208, allocations: 0 / 0.8211 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59): time 0.0004628/0.06254, allocations: 365.8 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.06257, allocations: 55.91 kB / 0.8215 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.06341, allocations: 1.281 MB / 0.8228 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.06345, allocations: 41.7 kB / 0.8228 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.06378, allocations: 0.7239 MB / 0.8235 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.06391, allocations: 230 kB / 0.8237 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.06408, allocations: 226.7 kB / 0.8239 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.06418, allocations: 349.8 kB / 0.8243 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.06437, allocations: 125.4 kB / 0.8244 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.0648, allocations: 0.7554 MB / 0.8251 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.06535, allocations: 0.651 MB / 0.8258 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.06535, allocations: 4 kB / 0.8258 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006705/0.06602, allocations: 0.6664 MB / 0.8264 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.06604, allocations: 14.5 kB / 0.8264 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.06605, allocations: 12 kB / 0.8264 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.06608, allocations: 16 kB / 0.8265 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.06653, allocations: 255.6 kB / 0.8267 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.06655, allocations: 23.88 kB / 0.8267 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.06695, allocations: 115.2 kB / 0.8268 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.06699, allocations: 47.98 kB / 0.8269 GB, free: 1.316 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.0002251/0.06722, allocations: 180.3 kB / 0.8271 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.06734, allocations: 123.8 kB / 0.8272 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.06781, allocations: 437.4 kB / 0.8276 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.06782, allocations: 8 kB / 0.8276 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.06782, allocations: 0 / 0.8276 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002657/0.06809, allocations: 389.2 kB / 0.828 GB, free: 144 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.06946, allocations: 1.302 MB / 0.8292 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.06946, allocations: 4 kB / 0.8292 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.06976, allocations: 143.8 kB / 0.8294 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.06976, allocations: 4.25 kB / 0.8294 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.06979, allocations: 24 kB / 0.8294 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.06979, allocations: 7.984 kB / 0.8294 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.0698, allocations: 4 kB / 0.8294 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.07036, allocations: 0.65 MB / 0.8301 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.07062, allocations: 210.7 kB / 0.8303 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.07072, allocations: 12 kB / 0.8303 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.07105, allocations: 47.89 kB / 0.8303 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.07113, allocations: 56.28 kB / 0.8304 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.07117, allocations: 23.98 kB / 0.8304 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004564/0.07163, allocations: 0.6415 MB / 0.831 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.07163, allocations: 0 / 0.831 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007124/0.07234, allocations: 0.53 MB / 0.8315 GB, free: 12.38 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.0002779/0.07262, allocations: 176 kB / 0.8317 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.07307, allocations: 443.4 kB / 0.8321 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/0.07309, allocations: 24.5 kB / 0.8321 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.07326, allocations: 156.8 kB / 0.8323 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.07513, allocations: 0.9411 MB / 0.8332 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.07782, allocations: 2.725 MB / 0.8359 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.07803, allocations: 324.2 kB / 0.8362 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005317/0.07856, allocations: 290 kB / 0.8365 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.07961, allocations: 0.6257 MB / 0.8371 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of SimCode: time 8.51e-07/0.07961, allocations: 0 / 0.8371 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of Templates: time 0.06439/0.144, allocations: 33.39 MB / 0.8697 GB, free: 6.09 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 -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.865726826712489]