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.002323/0.002323, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.006547/0.006547, allocations: 220 kB / 23.02 MB, free: 2.938 MB / 13.93 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.859/1.859, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 3.422/3.422, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003813/0.003813, allocations: 67.91 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.145, allocations: 180 MB / 1.353 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03638/1.181, allocations: 26.56 MB / 1.379 GB, free: 6.957 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.0142/1.196, allocations: 7.319 MB / 1.386 GB, free: 15.62 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.197, allocations: 51.56 kB / 1.386 GB, free: 15.57 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/1.199, allocations: 409.2 kB / 1.386 GB, free: 15.17 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/1.203, allocations: 1.061 MB / 1.387 GB, free: 14.1 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/1.206, allocations: 1.091 MB / 1.389 GB, free: 13.02 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.00731/1.213, allocations: 5.069 MB / 1.393 GB, free: 7.938 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/1.216, allocations: 1.533 MB / 1.395 GB, free: 6.363 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004996/1.221, allocations: 1.975 MB / 1.397 GB, free: 4.391 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/1.224, allocations: 1.599 MB / 1.398 GB, free: 2.785 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007211/1.225, allocations: 228 kB / 1.399 GB, free: 2.562 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/1.228, allocations: 1.143 MB / 1.4 GB, free: 1.418 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008304/1.229, allocations: 0.5684 MB / 1.4 GB, free: 0.8477 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.001992/1.231, allocations: 0.9571 MB / 1.401 GB, free: 15.88 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.006472/1.238, allocations: 3.711 MB / 1.405 GB, free: 12.16 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.238, allocations: 0 / 1.405 GB, free: 12.16 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.945e-06/1.238, allocations: 4 kB / 1.405 GB, free: 12.16 MB / 1.089 GB Notification: Performance of Transformations before backend: time 9.37e-05/1.238, allocations: 0 / 1.405 GB, free: 12.16 MB / 1.089 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.006531/1.244, allocations: 2.546 MB / 1.407 GB, free: 9.574 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.244, allocations: 8.922 kB / 1.407 GB, free: 9.566 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/1.245, allocations: 243.6 kB / 1.408 GB, free: 9.328 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/1.249, allocations: 1.776 MB / 1.409 GB, free: 7.504 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.249, allocations: 114.7 kB / 1.409 GB, free: 7.391 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/1.25, allocations: 155.9 kB / 1.41 GB, free: 7.238 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/1.254, allocations: 2.227 MB / 1.412 GB, free: 4.891 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/1.254, allocations: 0 / 1.412 GB, free: 4.891 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/1.254, allocations: 63.98 kB / 1.412 GB, free: 4.828 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/1.254, allocations: 39.98 kB / 1.412 GB, free: 4.789 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/1.258, allocations: 1.798 MB / 1.414 GB, free: 2.984 MB / 1.089 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.01296/1.271, allocations: 6.165 MB / 1.42 GB, free: 12.7 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.273, allocations: 1.307 MB / 1.421 GB, free: 11.38 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.274, allocations: 0.6213 MB / 1.422 GB, free: 10.76 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006348/1.28, allocations: 2.406 MB / 1.424 GB, free: 8.332 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.28, allocations: 39.56 kB / 1.424 GB, free: 8.285 MB / 1.104 GB Notification: Performance of pre-optimization done (n=88): time 2.895e-06/1.28, allocations: 0 / 1.424 GB, free: 8.285 MB / 1.104 GB Notification: Performance of matching and sorting (n=88): time 0.002908/1.283, allocations: 1.507 MB / 1.425 GB, free: 6.777 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.283, allocations: 60.41 kB / 1.425 GB, free: 6.707 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.286, allocations: 1.432 MB / 1.427 GB, free: 5.266 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/1.286, allocations: 45.7 kB / 1.427 GB, free: 5.215 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/1.287, allocations: 0.7933 MB / 1.428 GB, free: 4.41 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/1.287, allocations: 329.2 kB / 1.428 GB, free: 4.086 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/1.288, allocations: 295.5 kB / 1.428 GB, free: 3.789 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.288, allocations: 365.9 kB / 1.429 GB, free: 3.426 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.289, allocations: 0.6917 MB / 1.429 GB, free: 2.73 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/1.291, allocations: 1.146 MB / 1.43 GB, free: 1.426 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/1.293, allocations: 1.624 MB / 1.432 GB, free: 15.68 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.293, allocations: 4 kB / 1.432 GB, free: 15.67 MB / 1.12 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003922/1.297, allocations: 1.94 MB / 1.434 GB, free: 13.72 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/1.297, allocations: 11.98 kB / 1.434 GB, free: 13.71 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/1.297, allocations: 8 kB / 1.434 GB, free: 13.7 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.297, allocations: 16 kB / 1.434 GB, free: 13.69 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.299, allocations: 340.2 kB / 1.434 GB, free: 13.36 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/1.299, allocations: 23.94 kB / 1.434 GB, free: 13.33 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.3, allocations: 178.8 kB / 1.434 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.3, allocations: 59.98 kB / 1.435 GB, free: 13.1 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002327/1.303, allocations: 1.28 MB / 1.436 GB, free: 11.81 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001674/1.304, allocations: 1.15 MB / 1.437 GB, free: 10.5 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002565/1.307, allocations: 1.612 MB / 1.438 GB, free: 8.77 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.636e-06/1.307, allocations: 4 kB / 1.438 GB, free: 8.766 MB / 1.12 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003894/1.311, allocations: 1.948 MB / 1.44 GB, free: 6.809 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.311, allocations: 8 kB / 1.44 GB, free: 6.801 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.311, allocations: 12 kB / 1.44 GB, free: 6.789 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.311, allocations: 16 kB / 1.44 GB, free: 6.773 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.312, allocations: 335.5 kB / 1.441 GB, free: 6.445 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/1.312, allocations: 19.94 kB / 1.441 GB, free: 6.426 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.313, allocations: 143.6 kB / 1.441 GB, free: 6.285 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.313, allocations: 67.98 kB / 1.441 GB, free: 6.219 MB / 1.12 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.0004701/1.314, allocations: 267.6 kB / 1.441 GB, free: 5.949 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/1.314, allocations: 143.1 kB / 1.441 GB, free: 5.809 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.317, allocations: 1.261 MB / 1.443 GB, free: 4.539 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.317, allocations: 15.98 kB / 1.443 GB, free: 4.523 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.317, allocations: 0 / 1.443 GB, free: 4.523 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001806/1.319, allocations: 1.292 MB / 1.444 GB, free: 3.148 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/1.323, allocations: 2.571 MB / 1.446 GB, free: 0.5312 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.323, allocations: 128 / 1.446 GB, free: 0.5312 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/1.324, allocations: 187.8 kB / 1.447 GB, free: 356 kB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.324, allocations: 4 kB / 1.447 GB, free: 352 kB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/1.324, allocations: 27.98 kB / 1.447 GB, free: 324 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/1.324, allocations: 7.938 kB / 1.447 GB, free: 316 kB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.324, allocations: 4.062 kB / 1.447 GB, free: 312 kB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/1.328, allocations: 1.904 MB / 1.448 GB, free: 14.37 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/1.329, allocations: 306.8 kB / 1.449 GB, free: 14.07 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/1.329, allocations: 23.94 kB / 1.449 GB, free: 14.05 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/1.329, allocations: 47.94 kB / 1.449 GB, free: 14 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.33, allocations: 60.83 kB / 1.449 GB, free: 13.94 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/1.33, allocations: 31.98 kB / 1.449 GB, free: 13.91 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001687/1.331, allocations: 0.9925 MB / 1.45 GB, free: 12.91 MB / 1.135 GB Notification: Performance of sort global known variables: time 9e-08/1.331, allocations: 0 / 1.45 GB, free: 12.91 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002817/1.334, allocations: 0.9783 MB / 1.451 GB, free: 11.93 MB / 1.135 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.0008121/1.335, allocations: 359.3 kB / 1.451 GB, free: 11.58 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.004193/1.339, allocations: 2.23 MB / 1.453 GB, free: 9.352 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.339, allocations: 0 / 1.453 GB, free: 9.352 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0008251/1.34, allocations: 0.4974 MB / 1.454 GB, free: 8.855 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.343, allocations: 0.686 MB / 1.454 GB, free: 8.188 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/1.35, allocations: 3.665 MB / 1.458 GB, free: 4.473 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/1.351, allocations: 1.097 MB / 1.459 GB, free: 3.336 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002622/1.354, allocations: 0.8711 MB / 1.46 GB, free: 2.48 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/1.354, allocations: 119.4 kB / 1.46 GB, free: 2.363 MB / 1.135 GB Notification: Performance of SimCode: time 1.293e-06/1.354, allocations: 4 kB / 1.46 GB, free: 2.359 MB / 1.135 GB Notification: Performance of Templates: time 0.06562/1.42, allocations: 33.39 MB / 1.493 GB, free: 1.562 MB / 1.167 GB " [Timeout remaining time 299] 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: 11.854081061668694]