Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.0008058/0.0008058, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0008902/0.0008902, allocations: 166.5 kB / 24.87 MB, free: 8.867 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.9606/0.9606, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.796/1.796, allocations: 359 MB / 0.6063 GB, free: 10.88 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.427e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.00989/0.009904, allocations: 13.06 MB / 0.8011 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007661/0.01757, allocations: 5.353 MB / 0.8063 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007663/0.01833, allocations: 80.34 kB / 0.8064 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.01894, allocations: 369.2 kB / 0.8067 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.02074, allocations: 1.356 MB / 0.8081 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.02236, allocations: 1.115 MB / 0.8091 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.02453, allocations: 3.381 MB / 0.8124 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007092/0.02523, allocations: 0.8305 MB / 0.8133 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.02688, allocations: 1.622 MB / 0.8148 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.02756, allocations: 0.8177 MB / 0.8156 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.264e-05/0.02766, allocations: 96 kB / 0.8157 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.02806, allocations: 291.4 kB / 0.816 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.02849, allocations: 302.8 kB / 0.8163 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.0288, allocations: 435 kB / 0.8167 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.02976, allocations: 1.047 MB / 0.8177 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02977, allocations: 4 kB / 0.8177 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.02977, allocations: 0 / 0.8177 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.02978, allocations: 0 / 0.8177 GB, free: 14.02 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001291/0.03107, allocations: 1.499 MB / 0.8192 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.03111, allocations: 12.03 kB / 0.8192 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.03135, allocations: 211.9 kB / 0.8194 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.03218, allocations: 0.9606 MB / 0.8204 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.03221, allocations: 54.38 kB / 0.8204 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.03228, allocations: 79.94 kB / 0.8205 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.03284, allocations: 0.701 MB / 0.8212 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.03286, allocations: 4 kB / 0.8212 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.0329, allocations: 28 kB / 0.8212 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.03292, allocations: 16 kB / 0.8212 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.03317, allocations: 210.1 kB / 0.8214 GB, free: 10.09 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.002175/0.03535, allocations: 2.942 MB / 0.8243 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.03555, allocations: 134.9 kB / 0.8244 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/0.03561, allocations: 65.98 kB / 0.8245 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/0.0357, allocations: 27.98 kB / 0.8245 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.03572, allocations: 45.33 kB / 0.8245 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 1.674e-06/0.03572, allocations: 0 / 0.8245 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31): time 0.000346/0.03607, allocations: 274.4 kB / 0.8248 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.03609, allocations: 55.41 kB / 0.8249 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.03657, allocations: 0.737 MB / 0.8256 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.0366, allocations: 33.7 kB / 0.8256 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.03689, allocations: 0.5688 MB / 0.8262 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.03695, allocations: 127 kB / 0.8263 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.03708, allocations: 123.9 kB / 0.8264 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.0372, allocations: 0.5004 MB / 0.8269 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.03729, allocations: 57.27 kB / 0.827 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.03753, allocations: 468.7 kB / 0.8274 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.03782, allocations: 384.2 kB / 0.8278 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.03783, allocations: 7.938 kB / 0.8278 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004197/0.03825, allocations: 424.6 kB / 0.8282 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.03826, allocations: 8 kB / 0.8282 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.03827, allocations: 7.984 kB / 0.8282 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.03828, allocations: 8 kB / 0.8282 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.03849, allocations: 115.8 kB / 0.8283 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.0385, allocations: 15.92 kB / 0.8283 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.03873, allocations: 64.03 kB / 0.8284 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.03875, allocations: 23.98 kB / 0.8284 GB, free: 2.492 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0001513/0.03891, allocations: 188.5 kB / 0.8286 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.039, allocations: 103.4 kB / 0.8287 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.03932, allocations: 289.6 kB / 0.829 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.03932, allocations: 4 kB / 0.829 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03932, allocations: 0 / 0.829 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001801/0.0395, allocations: 263.2 kB / 0.8292 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.04043, allocations: 0.8923 MB / 0.8301 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.04044, allocations: 0 / 0.8301 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.04063, allocations: 71.89 kB / 0.8302 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.04063, allocations: 4 kB / 0.8302 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.04065, allocations: 8 kB / 0.8302 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.04066, allocations: 4 kB / 0.8302 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.04066, allocations: 0 / 0.8302 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.04123, allocations: 0.5233 MB / 0.8307 GB, free: 28 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.04148, allocations: 139.4 kB / 0.8308 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.04157, allocations: 8 kB / 0.8308 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.04193, allocations: 23.98 kB / 0.8308 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.04198, allocations: 27.7 kB / 0.8309 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.04201, allocations: 19.98 kB / 0.8309 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002864/0.04229, allocations: 438.8 kB / 0.8313 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04229, allocations: 0 / 0.8313 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004697/0.04276, allocations: 279.4 kB / 0.8316 GB, free: 15.11 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002394/0.043, allocations: 194.9 kB / 0.8318 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.04327, allocations: 229 kB / 0.832 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.04328, allocations: 4 kB / 0.832 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.04338, allocations: 103.4 kB / 0.8321 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.04448, allocations: 0.4889 MB / 0.8326 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.04602, allocations: 1.461 MB / 0.834 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.04614, allocations: 195.2 kB / 0.8342 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002961/0.04643, allocations: 142.2 kB / 0.8343 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/0.04701, allocations: 433.8 kB / 0.8347 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/0.04701, allocations: 0 / 0.8347 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of Templates: time 0.01923/0.06625, allocations: 17.9 MB / 0.8522 GB, free: 10.34 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.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.461610360071063]