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.001418/0.001418, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001541/0.001541, allocations: 164.6 kB / 24.96 MB, free: 9.184 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 1.016/1.016, allocations: 177.1 MB / 205.4 MB, free: 5.477 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.6362 GB, free: 12.31 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.562e-06/1.562e-06, allocations: 0 / 0.776 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.332e-05, allocations: 3.062 kB / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01396/0.01398, allocations: 10.34 MB / 0.7861 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009968/0.02395, allocations: 4.806 MB / 0.7908 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.02528, allocations: 51.56 kB / 0.7908 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.02623, allocations: 250 kB / 0.791 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.02853, allocations: 0.8534 MB / 0.7919 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.03043, allocations: 0.9869 MB / 0.7928 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004582/0.03501, allocations: 5.047 MB / 0.7978 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.03814, allocations: 1.657 MB / 0.7994 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.04178, allocations: 2.39 MB / 0.8017 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.04362, allocations: 1.428 MB / 0.8031 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.04398, allocations: 231.9 kB / 0.8033 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.04575, allocations: 1.031 MB / 0.8043 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004103/0.04616, allocations: 0.5839 MB / 0.8049 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.04737, allocations: 0.8108 MB / 0.8057 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.05, allocations: 2.412 MB / 0.8081 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.05001, allocations: 0 / 0.8081 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.624e-06/0.05001, allocations: 0 / 0.8081 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.05004, allocations: 0 / 0.8081 GB, free: 4.504 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.002564/0.0526, allocations: 2.241 MB / 0.8102 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.05264, allocations: 13.34 kB / 0.8103 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.05317, allocations: 306.4 kB / 0.8106 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.0545, allocations: 1.093 MB / 0.8116 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.05456, allocations: 114.9 kB / 0.8117 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.05471, allocations: 160 kB / 0.8119 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.05592, allocations: 1.305 MB / 0.8132 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.05595, allocations: 8.531 kB / 0.8132 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.05603, allocations: 56.59 kB / 0.8132 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.05607, allocations: 39.98 kB / 0.8133 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.05677, allocations: 0.5062 MB / 0.8138 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.0612, allocations: 3.903 MB / 0.8176 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.06185, allocations: 0.5712 MB / 0.8181 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.06207, allocations: 205.9 kB / 0.8183 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002734/0.0648, allocations: 1.358 MB / 0.8196 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.06483, allocations: 47.56 kB / 0.8197 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 3.226e-06/0.06484, allocations: 0 / 0.8197 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.0007663/0.0656, allocations: 0.5223 MB / 0.8202 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.06564, allocations: 64.41 kB / 0.8203 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.06661, allocations: 1.095 MB / 0.8213 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.06667, allocations: 45.7 kB / 0.8214 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.06702, allocations: 0.6349 MB / 0.822 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.06721, allocations: 330.4 kB / 0.8223 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.06748, allocations: 267.3 kB / 0.8226 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.06761, allocations: 365.8 kB / 0.8229 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.06785, allocations: 179.6 kB / 0.8231 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.06828, allocations: 0.5844 MB / 0.8237 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.06892, allocations: 0.72 MB / 0.8244 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.06893, allocations: 5.406 kB / 0.8244 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.000884/0.06981, allocations: 0.7249 MB / 0.8251 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.06984, allocations: 18.59 kB / 0.8251 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.06985, allocations: 8 kB / 0.8251 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.06987, allocations: 16 kB / 0.8251 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.07065, allocations: 340.7 kB / 0.8254 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.07067, allocations: 21 kB / 0.8255 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.07121, allocations: 135 kB / 0.8256 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.07146, allocations: 51.98 kB / 0.8256 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004942/0.07195, allocations: 288 kB / 0.8259 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003865/0.07234, allocations: 0.5873 MB / 0.8265 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006019/0.07294, allocations: 0.7005 MB / 0.8272 GB, free: 32 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.339e-06/0.07295, allocations: 0.6562 kB / 0.8272 GB, free: 32 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0008824/0.07383, allocations: 0.7291 MB / 0.8279 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.07385, allocations: 15.92 kB / 0.8279 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.07386, allocations: 9.125 kB / 0.8279 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.07387, allocations: 16 kB / 0.8279 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.07457, allocations: 349.8 kB / 0.8283 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.07458, allocations: 19.94 kB / 0.8283 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.07504, allocations: 103.2 kB / 0.8284 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.07511, allocations: 53 kB / 0.8284 GB, free: 14.75 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.0002268/0.07534, allocations: 268.3 kB / 0.8287 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.0755, allocations: 107.9 kB / 0.8288 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000733/0.07623, allocations: 0.5817 MB / 0.8293 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.07625, allocations: 8 kB / 0.8294 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.07625, allocations: 4 kB / 0.8294 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000428/0.07668, allocations: 0.5875 MB / 0.8299 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.07855, allocations: 1.339 MB / 0.8312 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.07855, allocations: 0 / 0.8312 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.07904, allocations: 203.7 kB / 0.8314 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.07904, allocations: 4 kB / 0.8314 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.07908, allocations: 20.11 kB / 0.8315 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.07909, allocations: 8 kB / 0.8315 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.07909, allocations: 7.938 kB / 0.8315 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.07989, allocations: 0.7271 MB / 0.8322 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.08047, allocations: 190.8 kB / 0.8324 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.08058, allocations: 27.98 kB / 0.8324 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.08089, allocations: 23.98 kB / 0.8324 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.08097, allocations: 60.77 kB / 0.8325 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.08102, allocations: 23.98 kB / 0.8325 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005418/0.08156, allocations: 0.5389 MB / 0.833 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.41e-07/0.08156, allocations: 0 / 0.833 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002215/0.08377, allocations: 0.9471 MB / 0.8339 GB, free: 8.918 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.0006478/0.08442, allocations: 256.1 kB / 0.8342 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.08591, allocations: 0.8941 MB / 0.8351 GB, free: 7.781 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/0.08594, allocations: 24.44 kB / 0.8351 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.08618, allocations: 209.5 kB / 0.8353 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.08772, allocations: 0.7059 MB / 0.836 GB, free: 6.859 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.09119, allocations: 2.7 MB / 0.8386 GB, free: 4.102 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.09152, allocations: 420.1 kB / 0.839 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009348/0.09245, allocations: 309.3 kB / 0.8393 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.09359, allocations: 0.4951 MB / 0.8398 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of SimCode: time 1.542e-06/0.09359, allocations: 0 / 0.8398 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of Templates: time 0.03654/0.1301, allocations: 32.63 MB / 0.8717 GB, free: 2.922 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.640192316845059]