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.000995/0.000995, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001003/0.001003, allocations: 161 kB / 23.82 MB, free: 0.7539 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.926/0.926, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.959/1.959, allocations: 377.9 MB / 0.6236 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.834e-06/1.834e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.823e-05/4.007e-05, allocations: 7.109 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02156/0.0216, allocations: 21.3 MB / 0.8323 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.03565, allocations: 8.274 MB / 0.8404 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.03888, allocations: 154.7 kB / 0.8406 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.04092, allocations: 0.6707 MB / 0.8412 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005689/0.04661, allocations: 2.447 MB / 0.8436 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.05081, allocations: 1.926 MB / 0.8455 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.009131/0.05994, allocations: 6.665 MB / 0.852 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/0.06294, allocations: 1.662 MB / 0.8536 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005686/0.06863, allocations: 2.947 MB / 0.8565 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.07123, allocations: 1.608 MB / 0.8581 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0005415/0.07177, allocations: 196 kB / 0.8583 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.07301, allocations: 411.5 kB / 0.8587 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.07351, allocations: 0.5991 MB / 0.8592 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.07459, allocations: 0.8535 MB / 0.8601 GB, free: 15.94 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.07696, allocations: 1.95 MB / 0.862 GB, free: 13.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.07697, allocations: 0 / 0.862 GB, free: 13.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.07697, allocations: 0 / 0.862 GB, free: 13.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.14e-05/0.07701, allocations: 0 / 0.862 GB, free: 13.98 MB / 0.823 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.002953/0.07996, allocations: 2.686 MB / 0.8646 GB, free: 11.24 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.08002, allocations: 8.031 kB / 0.8646 GB, free: 11.23 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006022/0.08062, allocations: 415 kB / 0.865 GB, free: 10.83 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.08291, allocations: 2.019 MB / 0.867 GB, free: 8.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.08297, allocations: 102.7 kB / 0.8671 GB, free: 8.648 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.08312, allocations: 148 kB / 0.8672 GB, free: 8.504 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.08463, allocations: 1.413 MB / 0.8686 GB, free: 6.918 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.08466, allocations: 7.938 kB / 0.8686 GB, free: 6.91 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.08474, allocations: 56 kB / 0.8687 GB, free: 6.855 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.08479, allocations: 40 kB / 0.8687 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.08563, allocations: 498.9 kB / 0.8692 GB, free: 6.32 MB / 0.823 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.005319/0.09095, allocations: 5.719 MB / 0.8748 GB, free: 444 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.09143, allocations: 250.6 kB / 0.875 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.09164, allocations: 149.1 kB / 0.8751 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.09181, allocations: 40.47 kB / 0.8752 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.09184, allocations: 41.83 kB / 0.8752 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/0.09184, allocations: 0 / 0.8752 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.001174/0.09301, allocations: 0.539 MB / 0.8757 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.09305, allocations: 59.91 kB / 0.8758 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.09436, allocations: 1.386 MB / 0.8772 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.09442, allocations: 41.7 kB / 0.8772 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.09499, allocations: 1.03 MB / 0.8782 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.09515, allocations: 230.1 kB / 0.8784 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.09537, allocations: 236.4 kB / 0.8786 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.09551, allocations: 0.516 MB / 0.8792 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.09573, allocations: 126.5 kB / 0.8793 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.09629, allocations: 0.9091 MB / 0.8802 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.09701, allocations: 0.7662 MB / 0.8809 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.09702, allocations: 4 kB / 0.8809 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001092/0.09811, allocations: 0.8675 MB / 0.8818 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.09814, allocations: 15.98 kB / 0.8818 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.09816, allocations: 8 kB / 0.8818 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/0.09819, allocations: 16 kB / 0.8818 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.09875, allocations: 264 kB / 0.8821 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/0.09878, allocations: 23.92 kB / 0.8821 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.09939, allocations: 123.2 kB / 0.8822 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.09945, allocations: 51.98 kB / 0.8822 GB, free: 8.215 MB / 0.8386 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.0004899/0.09994, allocations: 224.3 kB / 0.8825 GB, free: 7.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.1001, allocations: 202.8 kB / 0.8826 GB, free: 7.785 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/0.1009, allocations: 0.5323 MB / 0.8832 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1009, allocations: 12 kB / 0.8832 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1009, allocations: 0 / 0.8832 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004504/0.1013, allocations: 497.2 kB / 0.8837 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.1035, allocations: 1.806 MB / 0.8854 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1035, allocations: 4 kB / 0.8854 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.1038, allocations: 156.1 kB / 0.8856 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.1038, allocations: 4 kB / 0.8856 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.1039, allocations: 16 kB / 0.8856 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.1039, allocations: 7.938 kB / 0.8856 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.1039, allocations: 7.922 kB / 0.8856 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.1048, allocations: 0.8503 MB / 0.8864 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.1052, allocations: 262.6 kB / 0.8867 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.1053, allocations: 20 kB / 0.8867 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.1057, allocations: 39.91 kB / 0.8867 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.1058, allocations: 56.34 kB / 0.8868 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.1059, allocations: 39.97 kB / 0.8868 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008005/0.1067, allocations: 0.8178 MB / 0.8876 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1067, allocations: 4 kB / 0.8876 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001085/0.1078, allocations: 0.5223 MB / 0.8881 GB, free: 1.973 MB / 0.8386 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.0003931/0.1082, allocations: 210.8 kB / 0.8883 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006967/0.1089, allocations: 490.5 kB / 0.8888 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1089, allocations: 0 / 0.8888 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.1091, allocations: 200.6 kB / 0.889 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.1115, allocations: 0.9481 MB / 0.8899 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.1156, allocations: 2.806 MB / 0.8927 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1158, allocations: 340.2 kB / 0.893 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008682/0.1167, allocations: 320.2 kB / 0.8933 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.1169, allocations: 140.5 kB / 0.8934 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of SimCode: time 2.494e-06/0.117, allocations: 0 / 0.8934 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.04052/0.1575, allocations: 30.9 MB / 0.9236 GB, free: 14.33 MB / 0.8855 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: 6.101499489042908]