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.000996/0.000996, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001069/0.001069, allocations: 165 kB / 24.16 MB, free: 332 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 1.062/1.062, allocations: 177.2 MB / 204.6 MB, free: 5.469 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 2.044/2.044, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] 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.833e-06/1.833e-06, allocations: 0 / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.328e-05, allocations: 3.719 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01592/0.01595, allocations: 10.34 MB / 0.7853 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009766/0.02572, allocations: 4.793 MB / 0.79 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.02715, allocations: 51.56 kB / 0.79 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.0279, allocations: 247 kB / 0.7903 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.03034, allocations: 0.8662 MB / 0.7911 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.0326, allocations: 0.9759 MB / 0.7921 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004883/0.03748, allocations: 5.049 MB / 0.797 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.0406, allocations: 1.666 MB / 0.7986 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/0.0448, allocations: 2.39 MB / 0.8009 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.0472, allocations: 1.426 MB / 0.8023 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006359/0.04784, allocations: 230.2 kB / 0.8026 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.04992, allocations: 1.03 MB / 0.8036 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005554/0.05047, allocations: 0.5917 MB / 0.8041 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.05195, allocations: 0.8108 MB / 0.8049 GB, free: 6.914 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.05551, allocations: 2.411 MB / 0.8073 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.05551, allocations: 0.625 kB / 0.8073 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.675e-06/0.05551, allocations: 0 / 0.8073 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.963e-05/0.05556, allocations: 1.969 kB / 0.8073 GB, free: 4.496 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.003004/0.05857, allocations: 2.245 MB / 0.8095 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.05861, allocations: 13.34 kB / 0.8095 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.05927, allocations: 293 kB / 0.8098 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.06089, allocations: 1.096 MB / 0.8108 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-05/0.06096, allocations: 115.9 kB / 0.811 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.06115, allocations: 160 kB / 0.8111 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.06269, allocations: 1.304 MB / 0.8124 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.06273, allocations: 12.67 kB / 0.8124 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.06282, allocations: 59.98 kB / 0.8125 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.06287, allocations: 37.88 kB / 0.8125 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/0.06373, allocations: 0.5059 MB / 0.813 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.06885, allocations: 3.902 MB / 0.8168 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.06951, allocations: 0.5743 MB / 0.8174 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.06973, allocations: 191.3 kB / 0.8175 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002814/0.07255, allocations: 1.362 MB / 0.8189 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.07258, allocations: 39.56 kB / 0.8189 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 2.906e-06/0.07258, allocations: 0 / 0.8189 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.000838/0.07342, allocations: 0.5256 MB / 0.8194 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.07346, allocations: 68.34 kB / 0.8195 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.0746, allocations: 1.099 MB / 0.8206 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.07467, allocations: 45.7 kB / 0.8206 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.07504, allocations: 0.6316 MB / 0.8212 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.07526, allocations: 333.1 kB / 0.8215 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.07556, allocations: 272.9 kB / 0.8218 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.07569, allocations: 361.8 kB / 0.8221 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.07596, allocations: 183.6 kB / 0.8223 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.07641, allocations: 0.5758 MB / 0.8229 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.07714, allocations: 0.7288 MB / 0.8236 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.07715, allocations: 4 kB / 0.8236 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001023/0.07817, allocations: 0.721 MB / 0.8243 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.0782, allocations: 12.47 kB / 0.8243 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.07821, allocations: 12 kB / 0.8243 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.07824, allocations: 17.09 kB / 0.8243 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.07911, allocations: 343.1 kB / 0.8247 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.07913, allocations: 23.92 kB / 0.8247 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.07978, allocations: 131.5 kB / 0.8248 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.07987, allocations: 52.98 kB / 0.8249 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008899/0.08076, allocations: 285.7 kB / 0.8251 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004248/0.08119, allocations: 0.5873 MB / 0.8257 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006465/0.08183, allocations: 0.7022 MB / 0.8264 GB, free: 20 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.07e-06/0.08184, allocations: 4 kB / 0.8264 GB, free: 16 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0009354/0.08277, allocations: 0.7297 MB / 0.8271 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.08279, allocations: 11.94 kB / 0.8271 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.0828, allocations: 8 kB / 0.8271 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.08281, allocations: 16.81 kB / 0.8271 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.08354, allocations: 346.1 kB / 0.8275 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.08356, allocations: 27.91 kB / 0.8275 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.08411, allocations: 103.2 kB / 0.8276 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/0.08419, allocations: 47.98 kB / 0.8276 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.0002906/0.08448, allocations: 267.7 kB / 0.8279 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.0847, allocations: 111.9 kB / 0.828 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.08549, allocations: 0.5633 MB / 0.8286 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.0855, allocations: 12 kB / 0.8286 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.0855, allocations: 0 / 0.8286 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004545/0.08595, allocations: 0.5914 MB / 0.8291 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.08801, allocations: 1.346 MB / 0.8305 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.08802, allocations: 0 / 0.8305 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.08856, allocations: 205.4 kB / 0.8307 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.08857, allocations: 7.938 kB / 0.8307 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.08861, allocations: 23.98 kB / 0.8307 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.08862, allocations: 4 kB / 0.8307 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.08862, allocations: 4 kB / 0.8307 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.08949, allocations: 0.7348 MB / 0.8314 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.08984, allocations: 186.8 kB / 0.8316 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.08995, allocations: 20 kB / 0.8316 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.09028, allocations: 31.97 kB / 0.8316 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.09035, allocations: 56.84 kB / 0.8317 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/0.0904, allocations: 27.97 kB / 0.8317 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0007892/0.09119, allocations: 0.535 MB / 0.8322 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.09119, allocations: 0 / 0.8322 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001775/0.09296, allocations: 0.951 MB / 0.8332 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.0004668/0.09343, allocations: 244.6 kB / 0.8334 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.0947, allocations: 0.9065 MB / 0.8343 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.229e-05/0.09472, allocations: 20.5 kB / 0.8343 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.09496, allocations: 208.4 kB / 0.8345 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.09648, allocations: 0.7184 MB / 0.8352 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.1001, allocations: 2.696 MB / 0.8378 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1004, allocations: 420.1 kB / 0.8382 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009688/0.1014, allocations: 313.4 kB / 0.8385 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/0.1027, allocations: 0.4951 MB / 0.839 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of SimCode: time 1.843e-06/0.1027, allocations: 0 / 0.839 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of Templates: time 0.04275/0.1455, allocations: 32.62 MB / 0.8709 GB, free: 2.891 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.98771059513092]