Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001296/0.001296, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.001246/0.001246, allocations: 165.3 kB / 24.25 MB, free: 208 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.9872/0.9872, allocations: 177.1 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.9/1.9, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7754 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.471e-05, allocations: 3.406 kB / 0.7754 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01433/0.01436, allocations: 13.17 MB / 0.7882 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.02539, allocations: 5.44 MB / 0.7935 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.02771, allocations: 79.31 kB / 0.7936 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.02883, allocations: 373.2 kB / 0.794 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.03274, allocations: 1.337 MB / 0.7953 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.03538, allocations: 1.079 MB / 0.7963 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004534/0.03992, allocations: 3.34 MB / 0.7996 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.04163, allocations: 0.8485 MB / 0.8004 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.04426, allocations: 1.581 MB / 0.802 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.04538, allocations: 0.7515 MB / 0.8027 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.04553, allocations: 96 kB / 0.8028 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.04648, allocations: 299.5 kB / 0.8031 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.04668, allocations: 306.7 kB / 0.8034 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.04702, allocations: 432 kB / 0.8038 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.0481, allocations: 1.047 MB / 0.8048 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.0481, allocations: 1.906 kB / 0.8048 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.403e-06/0.0481, allocations: 0 / 0.8048 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.04811, allocations: 0 / 0.8048 GB, free: 7.16 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001253/0.04936, allocations: 1.34 MB / 0.8061 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.0494, allocations: 14.44 kB / 0.8061 GB, free: 5.777 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.04964, allocations: 168.6 kB / 0.8063 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.05045, allocations: 0.726 MB / 0.807 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.05048, allocations: 54.38 kB / 0.8071 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.05056, allocations: 83.92 kB / 0.8071 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.05116, allocations: 0.6945 MB / 0.8078 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.05117, allocations: 4.5 kB / 0.8078 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.05121, allocations: 28.59 kB / 0.8078 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.05124, allocations: 27.94 kB / 0.8079 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.05149, allocations: 198.9 kB / 0.8081 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.05342, allocations: 2.15 MB / 0.8102 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.05366, allocations: 177.9 kB / 0.8103 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.05373, allocations: 63.59 kB / 0.8104 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.05385, allocations: 36.75 kB / 0.8104 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.05388, allocations: 39.62 kB / 0.8105 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 3.066e-06/0.05388, allocations: 3.984 kB / 0.8105 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.0002982/0.05418, allocations: 196.2 kB / 0.8107 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.05421, allocations: 56.66 kB / 0.8107 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.05465, allocations: 0.6769 MB / 0.8114 GB, free: 192 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.05468, allocations: 33.7 kB / 0.8114 GB, free: 152 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.05487, allocations: 410.8 kB / 0.8118 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.05497, allocations: 119 kB / 0.8119 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.05507, allocations: 114.2 kB / 0.812 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.05514, allocations: 330.7 kB / 0.8123 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.05524, allocations: 64.06 kB / 0.8124 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.05545, allocations: 398.8 kB / 0.8128 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.05573, allocations: 339.9 kB / 0.8131 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.05573, allocations: 0.8438 kB / 0.8131 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003513/0.05608, allocations: 347.6 kB / 0.8134 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.0561, allocations: 9.094 kB / 0.8134 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.05611, allocations: 4 kB / 0.8134 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.05612, allocations: 8 kB / 0.8135 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.05636, allocations: 128.5 kB / 0.8136 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.05637, allocations: 8.781 kB / 0.8136 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.05661, allocations: 63.17 kB / 0.8136 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.05664, allocations: 20 kB / 0.8137 GB, free: 13.64 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.0001677/0.0568, allocations: 148.5 kB / 0.8138 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.05688, allocations: 63.86 kB / 0.8139 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.05722, allocations: 245.4 kB / 0.8141 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.05723, allocations: 4 kB / 0.8141 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.05723, allocations: 0 / 0.8141 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001788/0.05741, allocations: 228.8 kB / 0.8143 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.05837, allocations: 0.7802 MB / 0.8151 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.05837, allocations: 7.938 kB / 0.8151 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.05858, allocations: 72.8 kB / 0.8152 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.05859, allocations: 5.812 kB / 0.8152 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.05874, allocations: 12 kB / 0.8152 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.05874, allocations: 3.984 kB / 0.8152 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.05875, allocations: 4 kB / 0.8152 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.05914, allocations: 423.9 kB / 0.8156 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.0593, allocations: 115.3 kB / 0.8157 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.05935, allocations: 8 kB / 0.8157 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.05952, allocations: 20.91 kB / 0.8157 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.05958, allocations: 31.89 kB / 0.8158 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.0596, allocations: 20.05 kB / 0.8158 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002425/0.05984, allocations: 324.8 kB / 0.8161 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.05984, allocations: 7.938 kB / 0.8161 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005588/0.0604, allocations: 279.3 kB / 0.8164 GB, free: 10.77 MB / 0.7761 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.0003119/0.06071, allocations: 163.2 kB / 0.8165 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.06102, allocations: 229.8 kB / 0.8167 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.06104, allocations: 8 kB / 0.8167 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.06114, allocations: 93.27 kB / 0.8168 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.06211, allocations: 477.2 kB / 0.8173 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.06378, allocations: 1.418 MB / 0.8187 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.0639, allocations: 191.1 kB / 0.8189 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.06426, allocations: 142.5 kB / 0.819 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.06484, allocations: 357 kB / 0.8193 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.06484, allocations: 0 / 0.8193 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of Templates: time 0.01951/0.08435, allocations: 17.27 MB / 0.8362 GB, free: 6.832 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.450786421075463]