Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.0009306/0.0009306, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.0009125/0.0009125, allocations: 168.1 kB / 25.05 MB, free: 9.23 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.9585/0.9585, allocations: 177.1 MB / 205.5 MB, free: 5.457 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.869/1.869, allocations: 389.6 MB / 0.6363 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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.926e-05, allocations: 5.062 kB / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.009165/0.009194, allocations: 10.33 MB / 0.7862 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007073/0.01627, allocations: 4.783 MB / 0.7909 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.01727, allocations: 47.56 kB / 0.7909 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.01791, allocations: 255.1 kB / 0.7912 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.01957, allocations: 0.8536 MB / 0.792 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.02145, allocations: 0.9708 MB / 0.793 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00379/0.02524, allocations: 5.06 MB / 0.7979 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.02745, allocations: 1.665 MB / 0.7995 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.03022, allocations: 2.392 MB / 0.8019 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.03186, allocations: 1.426 MB / 0.8033 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004368/0.03229, allocations: 228.5 kB / 0.8035 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.0339, allocations: 1.035 MB / 0.8045 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/0.03426, allocations: 0.5722 MB / 0.805 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008645/0.03513, allocations: 0.8224 MB / 0.8058 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.03769, allocations: 2.404 MB / 0.8082 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.03769, allocations: 3.984 kB / 0.8082 GB, free: 4.488 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03769, allocations: 4 kB / 0.8082 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.681e-05/0.03773, allocations: 0.5625 kB / 0.8082 GB, free: 4.484 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002551/0.04028, allocations: 2.245 MB / 0.8104 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.04032, allocations: 9.344 kB / 0.8104 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005624/0.04088, allocations: 305.4 kB / 0.8107 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.04227, allocations: 1.093 MB / 0.8118 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.04233, allocations: 115.9 kB / 0.8119 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.0425, allocations: 156 kB / 0.812 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.04376, allocations: 1.313 MB / 0.8133 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.04379, allocations: 4.875 kB / 0.8133 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.04388, allocations: 60 kB / 0.8134 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.04393, allocations: 36.53 kB / 0.8134 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.04463, allocations: 0.502 MB / 0.8139 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/0.0492, allocations: 3.911 MB / 0.8177 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.04978, allocations: 0.5714 MB / 0.8183 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.04999, allocations: 195.3 kB / 0.8185 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.05211, allocations: 1.361 MB / 0.8198 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.05213, allocations: 43.56 kB / 0.8198 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 3.166e-06/0.05214, allocations: 1.469 kB / 0.8198 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.0006884/0.05282, allocations: 0.5217 MB / 0.8203 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.05286, allocations: 68.28 kB / 0.8204 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.05371, allocations: 1.098 MB / 0.8215 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.05377, allocations: 51.02 kB / 0.8215 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.05425, allocations: 0.6272 MB / 0.8221 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.05442, allocations: 329.1 kB / 0.8224 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.05466, allocations: 271.3 kB / 0.8227 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.05477, allocations: 365.1 kB / 0.8231 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.055, allocations: 183.6 kB / 0.8232 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.0554, allocations: 0.5797 MB / 0.8238 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.05602, allocations: 0.7227 MB / 0.8245 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.05603, allocations: 4 kB / 0.8245 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0008454/0.05687, allocations: 0.7306 MB / 0.8252 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.05689, allocations: 11.94 kB / 0.8252 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.05691, allocations: 8 kB / 0.8252 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.05692, allocations: 16 kB / 0.8253 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.05764, allocations: 336.1 kB / 0.8256 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.05766, allocations: 23.92 kB / 0.8256 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.05814, allocations: 142.4 kB / 0.8257 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.05821, allocations: 51.98 kB / 0.8258 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004513/0.05867, allocations: 281.7 kB / 0.8261 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003747/0.05904, allocations: 0.5795 MB / 0.8266 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005933/0.05963, allocations: 0.7063 MB / 0.8273 GB, free: 8 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.05964, allocations: 4 kB / 0.8273 GB, free: 4 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0009936/0.06063, allocations: 0.7347 MB / 0.828 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.06065, allocations: 11.94 kB / 0.828 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.06066, allocations: 8 kB / 0.828 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.06067, allocations: 16 kB / 0.8281 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.06135, allocations: 338.1 kB / 0.8284 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.06137, allocations: 23.92 kB / 0.8284 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.06181, allocations: 107.2 kB / 0.8285 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.06198, allocations: 47.98 kB / 0.8286 GB, free: 14.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * 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.0002214/0.0622, allocations: 267.7 kB / 0.8288 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.06236, allocations: 111.9 kB / 0.8289 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/0.06304, allocations: 0.5668 MB / 0.8295 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.06305, allocations: 8 kB / 0.8295 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.06305, allocations: 0 / 0.8295 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003808/0.06343, allocations: 0.5953 MB / 0.8301 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.065, allocations: 1.354 MB / 0.8314 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.06501, allocations: 0 / 0.8314 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.06546, allocations: 197.3 kB / 0.8316 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.06546, allocations: 4 kB / 0.8316 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.0655, allocations: 23.98 kB / 0.8316 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.0655, allocations: 4 kB / 0.8316 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.06551, allocations: 0 / 0.8316 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.06621, allocations: 0.7467 MB / 0.8323 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.06647, allocations: 186.8 kB / 0.8325 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.06655, allocations: 16 kB / 0.8325 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.06684, allocations: 27.98 kB / 0.8326 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.0669, allocations: 60.83 kB / 0.8326 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.06694, allocations: 23.97 kB / 0.8326 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004448/0.06739, allocations: 0.5389 MB / 0.8332 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.7e-07/0.06739, allocations: 0 / 0.8332 GB, free: 9.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001484/0.06887, allocations: 0.9432 MB / 0.8341 GB, free: 8.895 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004098/0.06928, allocations: 253.7 kB / 0.8343 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.07033, allocations: 0.8971 MB / 0.8352 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/0.07035, allocations: 24.44 kB / 0.8352 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.07056, allocations: 214.1 kB / 0.8354 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.07202, allocations: 0.7121 MB / 0.8361 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.07499, allocations: 2.703 MB / 0.8388 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.07527, allocations: 412.2 kB / 0.8392 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008246/0.0761, allocations: 307.8 kB / 0.8394 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009265/0.07703, allocations: 0.5068 MB / 0.8399 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of SimCode: time 8.82e-07/0.07703, allocations: 4 kB / 0.8399 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of Templates: time 0.03716/0.1142, allocations: 32.63 MB / 0.8718 GB, free: 2.875 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4185198452323675]