Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.229/2.229, allocations: 391.2 MB / 407 MB, free: 10.87 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.001268/0.001268, allocations: 191.4 kB / 499.1 MB, free: 4.633 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.427/1.427, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001133/0.001133, allocations: 116.5 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 50.47 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2666, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04061/0.3072, allocations: 56.91 MB / 1.274 GB, free: 60.14 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3203, allocations: 10.54 MB / 1.284 GB, free: 49.57 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.3229, allocations: 51.69 kB / 1.284 GB, free: 49.52 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.3246, allocations: 0.5595 MB / 1.285 GB, free: 48.95 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.3294, allocations: 1.827 MB / 1.286 GB, free: 47.12 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.3322, allocations: 1.175 MB / 1.287 GB, free: 45.96 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.3364, allocations: 4.745 MB / 1.292 GB, free: 41.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.3381, allocations: 1.058 MB / 1.293 GB, free: 40.11 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.3408, allocations: 1.124 MB / 1.294 GB, free: 38.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.3427, allocations: 1.023 MB / 1.295 GB, free: 37.95 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.3431, allocations: 68 kB / 1.295 GB, free: 37.88 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.3461, allocations: 1.15 MB / 1.296 GB, free: 36.73 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.3466, allocations: 290.7 kB / 1.297 GB, free: 36.45 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.3478, allocations: 0.715 MB / 1.297 GB, free: 35.73 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.3516, allocations: 2.329 MB / 1.3 GB, free: 33.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3516, allocations: 0 / 1.3 GB, free: 33.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.526e-06/0.3516, allocations: 4 kB / 1.3 GB, free: 33.39 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.3517, allocations: 3.938 kB / 1.3 GB, free: 33.38 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002867/0.3545, allocations: 1.878 MB / 1.302 GB, free: 31.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3546, allocations: 15.98 kB / 1.302 GB, free: 31.41 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.3549, allocations: 163.1 kB / 1.302 GB, free: 31.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3564, allocations: 1.17 MB / 1.303 GB, free: 30.03 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.3565, allocations: 74 kB / 1.303 GB, free: 29.96 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3566, allocations: 91.94 kB / 1.303 GB, free: 29.87 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3578, allocations: 0.9644 MB / 1.304 GB, free: 28.86 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.3578, allocations: 3.906 kB / 1.304 GB, free: 28.86 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.3579, allocations: 43.98 kB / 1.304 GB, free: 28.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.358, allocations: 20 kB / 1.304 GB, free: 28.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.3589, allocations: 0.6714 MB / 1.305 GB, free: 28.12 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.003768/0.3627, allocations: 4.065 MB / 1.309 GB, free: 23.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.3633, allocations: 406.4 kB / 1.309 GB, free: 23.44 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.3636, allocations: 269.3 kB / 1.309 GB, free: 23.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.3639, allocations: 0.4952 MB / 1.31 GB, free: 22.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/0.3643, allocations: 362 kB / 1.31 GB, free: 22.19 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.3644, allocations: 0 / 1.31 GB, free: 22.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=54): time 0.003162/0.3675, allocations: 1.969 MB / 1.312 GB, free: 20.12 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3676, allocations: 140.9 kB / 1.312 GB, free: 19.96 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3686, allocations: 1.102 MB / 1.313 GB, free: 18.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.3687, allocations: 41.7 kB / 1.313 GB, free: 18.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.369, allocations: 0.5703 MB / 1.314 GB, free: 18.22 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3691, allocations: 181.4 kB / 1.314 GB, free: 18.04 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.3693, allocations: 150.1 kB / 1.314 GB, free: 17.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.3694, allocations: 326 kB / 1.314 GB, free: 17.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.3697, allocations: 227.7 kB / 1.315 GB, free: 17.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.3701, allocations: 436.9 kB / 1.315 GB, free: 16.83 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.3708, allocations: 0.6429 MB / 1.316 GB, free: 16.12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3708, allocations: 0 / 1.316 GB, free: 16.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001123/0.3719, allocations: 0.8872 MB / 1.317 GB, free: 15.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.3719, allocations: 42.27 kB / 1.317 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.372, allocations: 4 kB / 1.317 GB, free: 15.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.3723, allocations: 121.6 kB / 1.317 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.3727, allocations: 119.8 kB / 1.317 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.374, allocations: 2.192 MB / 1.319 GB, free: 12.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.3748, allocations: 88.86 kB / 1.319 GB, free: 12.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.3749, allocations: 31.98 kB / 1.319 GB, free: 12.45 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005725/0.3755, allocations: 473.6 kB / 1.32 GB, free: 11.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003917/0.3759, allocations: 428.9 kB / 1.32 GB, free: 11.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006354/0.3765, allocations: 0.6429 MB / 1.321 GB, free: 10.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.3765, allocations: 4 kB / 1.321 GB, free: 10.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001112/0.3776, allocations: 0.8795 MB / 1.321 GB, free: 9.863 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3777, allocations: 45.69 kB / 1.322 GB, free: 9.812 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3777, allocations: 4 kB / 1.322 GB, free: 9.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.378, allocations: 117.9 kB / 1.322 GB, free: 9.688 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.3783, allocations: 123.8 kB / 1.322 GB, free: 9.566 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.3795, allocations: 2.184 MB / 1.324 GB, free: 7.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.3803, allocations: 91.91 kB / 1.324 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3803, allocations: 36.05 kB / 1.324 GB, free: 7.098 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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.0001905/0.3805, allocations: 259.4 kB / 1.324 GB, free: 6.832 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.3807, allocations: 126.5 kB / 1.324 GB, free: 6.707 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.3818, allocations: 0.8234 MB / 1.325 GB, free: 5.855 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3818, allocations: 12 kB / 1.325 GB, free: 5.844 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3818, allocations: 0 / 1.325 GB, free: 5.844 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007719/0.3826, allocations: 0.7113 MB / 1.326 GB, free: 5.09 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.3847, allocations: 1.821 MB / 1.328 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3847, allocations: 4 kB / 1.328 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.385, allocations: 71.89 kB / 1.328 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.3853, allocations: 121.7 kB / 1.328 GB, free: 2.988 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3853, allocations: 19.98 kB / 1.328 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.3865, allocations: 2.176 MB / 1.33 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3865, allocations: 0 / 1.33 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/0.3953, allocations: 6.707 MB / 1.337 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.3957, allocations: 259.5 kB / 1.337 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3959, allocations: 15.98 kB / 1.337 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.3966, allocations: 60.06 kB / 1.337 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.3967, allocations: 36.02 kB / 1.337 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.3968, allocations: 27.98 kB / 1.337 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001157/0.3979, allocations: 0.8248 MB / 1.338 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3979, allocations: 3.938 kB / 1.338 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002714/0.4007, allocations: 0.8983 MB / 1.339 GB, free: 7.414 MB / 0.8386 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: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.0008622/0.4015, allocations: 397.2 kB / 1.339 GB, free: 7.027 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.4038, allocations: 1.348 MB / 1.34 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4038, allocations: 0 / 1.34 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.4044, allocations: 470.3 kB / 1.341 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/0.4078, allocations: 0.6832 MB / 1.341 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.4119, allocations: 2.993 MB / 1.344 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.4127, allocations: 1.147 MB / 1.345 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001054/0.4137, allocations: 242.3 kB / 1.346 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.414, allocations: 99.3 kB / 1.346 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of SimCode: time 2.575e-06/0.414, allocations: 0 / 1.346 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.04595/0.4599, allocations: 27.7 MB / 1.373 GB, free: 4.477 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)