Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.24/2.24, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002128, allocations: 199.4 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001122, allocations: 111.2 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 43.78 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2765, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.04549/0.3221, allocations: 57.49 MB / 1.274 GB, free: 59.53 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.3367, allocations: 12.01 MB / 1.286 GB, free: 47.48 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.3395, allocations: 51.69 kB / 1.286 GB, free: 47.43 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.3429, allocations: 1.107 MB / 1.287 GB, free: 46.32 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.3482, allocations: 1.968 MB / 1.289 GB, free: 44.35 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.3518, allocations: 1.414 MB / 1.29 GB, free: 42.95 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004555/0.3564, allocations: 4.969 MB / 1.295 GB, free: 37.96 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.3582, allocations: 1.116 MB / 1.296 GB, free: 36.82 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.3607, allocations: 1.252 MB / 1.298 GB, free: 35.56 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.3627, allocations: 1.186 MB / 1.299 GB, free: 34.37 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.3632, allocations: 76 kB / 1.299 GB, free: 34.29 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.3677, allocations: 1.528 MB / 1.3 GB, free: 32.76 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009996/0.3688, allocations: 0.5098 MB / 1.301 GB, free: 32.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.3712, allocations: 0.9981 MB / 1.302 GB, free: 31.25 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005343/0.3765, allocations: 3.349 MB / 1.305 GB, free: 27.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3765, allocations: 0 / 1.305 GB, free: 27.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3766, allocations: 0 / 1.305 GB, free: 27.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001148/0.3767, allocations: 4 kB / 1.305 GB, free: 27.88 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005597/0.3823, allocations: 2.711 MB / 1.308 GB, free: 25.09 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3823, allocations: 15.98 kB / 1.308 GB, free: 25.07 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.3831, allocations: 246 kB / 1.308 GB, free: 24.83 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.3858, allocations: 1.91 MB / 1.31 GB, free: 22.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.3859, allocations: 70 kB / 1.31 GB, free: 22.78 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.386, allocations: 92 kB / 1.31 GB, free: 22.69 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3874, allocations: 1.031 MB / 1.311 GB, free: 21.62 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3874, allocations: 4 kB / 1.311 GB, free: 21.61 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/0.3875, allocations: 36 kB / 1.311 GB, free: 21.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.3875, allocations: 31.98 kB / 1.311 GB, free: 21.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/0.3885, allocations: 0.7339 MB / 1.312 GB, free: 20.81 MB / 0.823 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.00488/0.3934, allocations: 4.784 MB / 1.316 GB, free: 15.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.3941, allocations: 463.9 kB / 1.317 GB, free: 15.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.3944, allocations: 319.9 kB / 1.317 GB, free: 15.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.3949, allocations: 0.8317 MB / 1.318 GB, free: 14.01 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.3954, allocations: 409.9 kB / 1.318 GB, free: 13.58 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 2.935e-06/0.3954, allocations: 0 / 1.318 GB, free: 13.58 MB / 0.823 GB Notification: Performance of matching and sorting (n=67): time 0.004475/0.3999, allocations: 2.556 MB / 1.321 GB, free: 10.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4, allocations: 115.4 kB / 1.321 GB, free: 10.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.4029, allocations: 2.74 MB / 1.324 GB, free: 7.996 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.403, allocations: 37.7 kB / 1.324 GB, free: 7.953 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000566/0.4036, allocations: 0.9076 MB / 1.325 GB, free: 7.035 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.4037, allocations: 220.9 kB / 1.325 GB, free: 6.816 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.4039, allocations: 162.5 kB / 1.325 GB, free: 6.652 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.404, allocations: 337.9 kB / 1.325 GB, free: 6.316 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.4044, allocations: 272.7 kB / 1.326 GB, free: 6.047 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.4048, allocations: 482.3 kB / 1.326 GB, free: 5.492 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.4056, allocations: 0.8005 MB / 1.327 GB, free: 4.609 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4056, allocations: 4 kB / 1.327 GB, free: 4.605 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001584/0.4072, allocations: 1.136 MB / 1.328 GB, free: 3.441 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.4073, allocations: 75.33 kB / 1.328 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4073, allocations: 4.562 kB / 1.328 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.4078, allocations: 121.6 kB / 1.328 GB, free: 3.227 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.4082, allocations: 131.8 kB / 1.328 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.4095, allocations: 2.188 MB / 1.33 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4107, allocations: 93.2 kB / 1.33 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.4108, allocations: 39.98 kB / 1.33 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001016/0.4118, allocations: 0.7245 MB / 1.331 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005675/0.4124, allocations: 478.4 kB / 1.332 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009347/0.4134, allocations: 0.7965 MB / 1.332 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.4134, allocations: 0 / 1.332 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001876/0.4152, allocations: 1.132 MB / 1.333 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.4153, allocations: 71.39 kB / 1.334 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4153, allocations: 4 kB / 1.334 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.4158, allocations: 117.8 kB / 1.334 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.4162, allocations: 127.8 kB / 1.334 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.418, allocations: 2.192 MB / 1.336 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.4193, allocations: 103.8 kB / 1.336 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.4194, allocations: 35.98 kB / 1.336 GB, free: 10.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.4197, allocations: 296.9 kB / 1.336 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/0.4202, allocations: 205.5 kB / 1.337 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.4223, allocations: 1.175 MB / 1.338 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.4223, allocations: 4 kB / 1.338 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4223, allocations: 0 / 1.338 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/0.4236, allocations: 0.9338 MB / 1.339 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/0.4294, allocations: 2.564 MB / 1.341 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.4295, allocations: 8 kB / 1.341 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.4301, allocations: 83.89 kB / 1.341 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/0.4306, allocations: 113.9 kB / 1.341 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.4307, allocations: 27.98 kB / 1.341 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.433, allocations: 2.184 MB / 1.343 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.433, allocations: 4.031 kB / 1.343 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/0.4523, allocations: 9.857 MB / 1.353 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.4535, allocations: 414.5 kB / 1.353 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000489/0.454, allocations: 16 kB / 1.354 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.4552, allocations: 76.02 kB / 1.354 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.4553, allocations: 40.39 kB / 1.354 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.4554, allocations: 31.97 kB / 1.354 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00335/0.4588, allocations: 2.012 MB / 1.356 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4588, allocations: 0 / 1.356 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005758/0.4646, allocations: 1.238 MB / 1.357 GB, free: 4.402 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002421/0.467, allocations: 0.8037 MB / 1.358 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00325/0.4703, allocations: 1.715 MB / 1.359 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.4703, allocations: 0 / 1.359 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009615/0.4713, allocations: 0.6248 MB / 1.36 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/0.4766, allocations: 0.7814 MB / 1.361 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.4843, allocations: 4.721 MB / 1.365 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.4859, allocations: 1.479 MB / 1.367 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001695/0.4876, allocations: 370.2 kB / 1.367 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.4881, allocations: 131.4 kB / 1.367 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/0.4882, allocations: 0 / 1.367 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of Templates: time 0.06447/0.5526, allocations: 36.94 MB / 1.403 GB, free: 5.082 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)