Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001064/0.001064, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009333/0.0009333, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9113/0.9113, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.75/1.75, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.403e-05, allocations: 8.984 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01517/0.01519, allocations: 21.17 MB / 0.8078 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.02644, allocations: 8.286 MB / 0.8159 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.02814, allocations: 154.7 kB / 0.816 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.02915, allocations: 0.663 MB / 0.8167 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.03251, allocations: 2.467 MB / 0.8191 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.03501, allocations: 1.926 MB / 0.821 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004357/0.03937, allocations: 6.652 MB / 0.8275 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.04072, allocations: 1.654 MB / 0.8291 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.04379, allocations: 3.182 MB / 0.8322 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.04507, allocations: 1.624 MB / 0.8338 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.04525, allocations: 192 kB / 0.834 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.04584, allocations: 395.5 kB / 0.8343 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.04616, allocations: 0.5796 MB / 0.8349 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005907/0.04675, allocations: 0.8456 MB / 0.8357 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.04825, allocations: 1.904 MB / 0.8376 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.04825, allocations: 0 / 0.8376 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.22e-07/0.04825, allocations: 0 / 0.8376 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.04826, allocations: 0 / 0.8376 GB, free: 8.641 MB / 0.7917 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.002206/0.05047, allocations: 2.643 MB / 0.8402 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.0505, allocations: 11.97 kB / 0.8402 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.05096, allocations: 414.9 kB / 0.8406 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.05257, allocations: 1.8 MB / 0.8423 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.05263, allocations: 102.7 kB / 0.8424 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.05288, allocations: 155.9 kB / 0.8426 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.05417, allocations: 1.409 MB / 0.8439 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.05419, allocations: 0 / 0.8439 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.05427, allocations: 67.98 kB / 0.844 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.05431, allocations: 36 kB / 0.844 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.05503, allocations: 490.8 kB / 0.8445 GB, free: 1.242 MB / 0.7917 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.004065/0.0591, allocations: 5.696 MB / 0.8501 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.05947, allocations: 253.7 kB / 0.8503 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.05965, allocations: 141.9 kB / 0.8505 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.05976, allocations: 40.42 kB / 0.8505 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.05979, allocations: 49.89 kB / 0.8505 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=59): time 1.814e-06/0.05979, allocations: 0 / 0.8505 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=59): time 0.0006735/0.06046, allocations: 0.5389 MB / 0.8511 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.06049, allocations: 55.91 kB / 0.8511 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.06154, allocations: 1.375 MB / 0.8525 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.06158, allocations: 41.7 kB / 0.8525 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000742/0.06233, allocations: 1.026 MB / 0.8535 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.06245, allocations: 230.1 kB / 0.8537 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.06263, allocations: 228.5 kB / 0.8539 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.06275, allocations: 0.5199 MB / 0.8544 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.06294, allocations: 134.5 kB / 0.8546 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.06345, allocations: 0.9053 MB / 0.8555 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.06408, allocations: 0.7622 MB / 0.8562 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.06408, allocations: 4 kB / 0.8562 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0008665/0.06495, allocations: 0.8749 MB / 0.8571 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.06496, allocations: 8 kB / 0.8571 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.06498, allocations: 12 kB / 0.8571 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.065, allocations: 16.78 kB / 0.8571 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.06548, allocations: 263.6 kB / 0.8574 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.0655, allocations: 19.94 kB / 0.8574 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.06591, allocations: 127.2 kB / 0.8575 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.06596, allocations: 51.98 kB / 0.8575 GB, free: 3.18 MB / 0.8073 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.0002342/0.06619, allocations: 220.2 kB / 0.8578 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.06635, allocations: 206.8 kB / 0.8579 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.06697, allocations: 0.5326 MB / 0.8585 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.06698, allocations: 11.98 kB / 0.8585 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.06698, allocations: 0 / 0.8585 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003966/0.06738, allocations: 497.1 kB / 0.859 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.0692, allocations: 1.791 MB / 0.8607 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.0692, allocations: 7.984 kB / 0.8607 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.06953, allocations: 147.8 kB / 0.8609 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.06953, allocations: 4 kB / 0.8609 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.06956, allocations: 19.98 kB / 0.8609 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.06956, allocations: 4 kB / 0.8609 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.06957, allocations: 7.938 kB / 0.8609 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.07033, allocations: 0.8542 MB / 0.8617 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.07062, allocations: 266.6 kB / 0.862 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.07072, allocations: 20 kB / 0.862 GB, free: 14.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.07108, allocations: 43.89 kB / 0.862 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.07116, allocations: 56.3 kB / 0.8621 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.0712, allocations: 35.97 kB / 0.8621 GB, free: 14.29 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006761/0.07188, allocations: 0.81 MB / 0.8629 GB, free: 13.48 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.07188, allocations: 4 kB / 0.8629 GB, free: 13.48 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006893/0.07257, allocations: 0.5224 MB / 0.8634 GB, free: 12.96 MB / 0.823 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.0002786/0.07285, allocations: 194.8 kB / 0.8636 GB, free: 12.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.0734, allocations: 491.1 kB / 0.8641 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.07341, allocations: 4 kB / 0.8641 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.07363, allocations: 199.8 kB / 0.8643 GB, free: 12.07 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.07555, allocations: 0.9467 MB / 0.8652 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.07832, allocations: 2.809 MB / 0.8679 GB, free: 8.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.07853, allocations: 348.1 kB / 0.8683 GB, free: 7.887 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005463/0.07907, allocations: 313.3 kB / 0.8686 GB, free: 7.578 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.07925, allocations: 132.5 kB / 0.8687 GB, free: 7.449 MB / 0.823 GB Notification: Performance of SimCode: time 7.21e-07/0.07925, allocations: 0 / 0.8687 GB, free: 7.449 MB / 0.823 GB Notification: Performance of Templates: time 0.03567/0.1149, allocations: 33.39 MB / 0.9013 GB, free: 6.824 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.5161604839377105]