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.001117/0.001117, allocations: 80.88 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.00102/0.00102, allocations: 165 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.9467/0.9467, allocations: 177.2 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.873/1.873, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.512e-06/1.512e-06, allocations: 0 / 0.7754 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.444e-05, allocations: 3.734 kB / 0.7754 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01061/0.01063, allocations: 10.33 MB / 0.7855 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007067/0.0177, allocations: 4.777 MB / 0.7901 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.01879, allocations: 51.56 kB / 0.7902 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.01942, allocations: 254 kB / 0.7904 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.02112, allocations: 0.8536 MB / 0.7912 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.02291, allocations: 0.9698 MB / 0.7922 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004065/0.02698, allocations: 5.051 MB / 0.7971 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.02931, allocations: 1.682 MB / 0.7988 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.03247, allocations: 2.376 MB / 0.8011 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.03437, allocations: 1.439 MB / 0.8025 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.03477, allocations: 225.3 kB / 0.8027 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.03677, allocations: 1.03 MB / 0.8037 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.0372, allocations: 0.5845 MB / 0.8043 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.03824, allocations: 0.8147 MB / 0.8051 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.04111, allocations: 2.408 MB / 0.8074 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.04112, allocations: 0 / 0.8074 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.292e-06/0.04112, allocations: 0 / 0.8074 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.667e-05/0.04115, allocations: 0 / 0.8074 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.002663/0.04382, allocations: 2.249 MB / 0.8096 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.04386, allocations: 9.344 kB / 0.8096 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.04439, allocations: 297.5 kB / 0.8099 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.04599, allocations: 1.094 MB / 0.811 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.04606, allocations: 122.8 kB / 0.8111 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.04622, allocations: 152 kB / 0.8113 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.04759, allocations: 1.306 MB / 0.8125 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.04762, allocations: 0.9375 kB / 0.8125 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.0477, allocations: 56 kB / 0.8126 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.04775, allocations: 40 kB / 0.8126 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.04839, allocations: 0.5138 MB / 0.8131 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.05306, allocations: 3.904 MB / 0.8169 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.05397, allocations: 0.5838 MB / 0.8175 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.05417, allocations: 192.2 kB / 0.8177 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00229/0.05646, allocations: 1.357 MB / 0.819 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.0565, allocations: 47.56 kB / 0.8191 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 3.897e-06/0.0565, allocations: 0 / 0.8191 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.000735/0.05724, allocations: 0.5306 MB / 0.8196 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.05727, allocations: 60.41 kB / 0.8196 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.05817, allocations: 1.094 MB / 0.8207 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.05823, allocations: 51.08 kB / 0.8208 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.05855, allocations: 0.6311 MB / 0.8214 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.05872, allocations: 325.1 kB / 0.8217 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.05896, allocations: 277.1 kB / 0.8219 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.05906, allocations: 365.8 kB / 0.8223 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.05929, allocations: 183.6 kB / 0.8225 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.05967, allocations: 0.5757 MB / 0.823 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.06031, allocations: 0.7238 MB / 0.8237 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.06032, allocations: 5.5 kB / 0.8237 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001052/0.06137, allocations: 0.7207 MB / 0.8244 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.06139, allocations: 18.91 kB / 0.8245 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.0614, allocations: 8 kB / 0.8245 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.06142, allocations: 17.34 kB / 0.8245 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.06216, allocations: 343.5 kB / 0.8248 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.06218, allocations: 20.69 kB / 0.8248 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.06269, allocations: 138.9 kB / 0.825 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.06277, allocations: 48.64 kB / 0.825 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004712/0.06324, allocations: 285.7 kB / 0.8253 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000384/0.06362, allocations: 0.587 MB / 0.8259 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006124/0.06423, allocations: 0.7 MB / 0.8265 GB, free: 4 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.06424, allocations: 0 / 0.8265 GB, free: 4 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0008718/0.06511, allocations: 0.73 MB / 0.8273 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.06512, allocations: 11.94 kB / 0.8273 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.06513, allocations: 12 kB / 0.8273 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.06515, allocations: 16 kB / 0.8273 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.06583, allocations: 340 kB / 0.8276 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.06585, allocations: 27.91 kB / 0.8276 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.06633, allocations: 111.4 kB / 0.8278 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.0664, allocations: 51.98 kB / 0.8278 GB, free: 14.7 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.0002241/0.06662, allocations: 263.8 kB / 0.8281 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.0668, allocations: 111.9 kB / 0.8282 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.06752, allocations: 0.5679 MB / 0.8287 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.06754, allocations: 8 kB / 0.8287 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.06754, allocations: 0 / 0.8287 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004078/0.06795, allocations: 0.5953 MB / 0.8293 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.07002, allocations: 1.339 MB / 0.8306 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.07003, allocations: 4 kB / 0.8306 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.0705, allocations: 200.1 kB / 0.8308 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.0705, allocations: 8.109 kB / 0.8308 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.07054, allocations: 24 kB / 0.8308 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.07055, allocations: 7.938 kB / 0.8308 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.07055, allocations: 0 / 0.8308 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.07127, allocations: 0.7386 MB / 0.8316 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.07158, allocations: 186.8 kB / 0.8317 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.07168, allocations: 27.92 kB / 0.8318 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.07197, allocations: 23.98 kB / 0.8318 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.07204, allocations: 56.84 kB / 0.8318 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.07208, allocations: 27.97 kB / 0.8319 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004638/0.07254, allocations: 0.535 MB / 0.8324 GB, free: 9.832 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.07254, allocations: 0 / 0.8324 GB, free: 9.832 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001537/0.07408, allocations: 0.9471 MB / 0.8333 GB, free: 8.883 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.0004139/0.07449, allocations: 249.8 kB / 0.8336 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.07563, allocations: 0.8985 MB / 0.8344 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/0.07565, allocations: 20.5 kB / 0.8345 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.07586, allocations: 220.6 kB / 0.8347 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.07725, allocations: 0.7053 MB / 0.8354 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.08072, allocations: 2.697 MB / 0.838 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.08103, allocations: 416.1 kB / 0.8384 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000891/0.08192, allocations: 305.2 kB / 0.8387 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009962/0.08291, allocations: 0.5029 MB / 0.8392 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of SimCode: time 2.505e-06/0.08292, allocations: 0 / 0.8392 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of Templates: time 0.03837/0.1213, allocations: 32.63 MB / 0.871 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.5398220689967275]