Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.35/2.35, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001282, allocations: 175.4 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.341/2.341, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 87.48 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007847/0.0007848, allocations: 11.56 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.282, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.1029/0.385, allocations: 52.73 MB / 0.951 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.4103, allocations: 9.699 MB / 0.9604 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.4132, allocations: 43.69 kB / 0.9605 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.4164, allocations: 0.4892 MB / 0.961 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008786/0.4253, allocations: 1.525 MB / 0.9625 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.4319, allocations: 0.9655 MB / 0.9634 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.4423, allocations: 4.024 MB / 0.9673 GB, free: 12.4 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.446, allocations: 0.9496 MB / 0.9683 GB, free: 11.42 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.4508, allocations: 1.042 MB / 0.9693 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.4543, allocations: 0.9138 MB / 0.9702 GB, free: 9.457 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0006405/0.455, allocations: 52 kB / 0.9702 GB, free: 9.406 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/0.4604, allocations: 0.8576 MB / 0.9711 GB, free: 8.547 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0009996/0.4615, allocations: 250.8 kB / 0.9713 GB, free: 8.301 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.4628, allocations: 305 kB / 0.9716 GB, free: 7.996 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.4684, allocations: 1.707 MB / 0.9733 GB, free: 6.281 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4685, allocations: 0 / 0.9733 GB, free: 6.281 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.796e-06/0.4685, allocations: 0 / 0.9733 GB, free: 6.281 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 7.058e-05/0.4686, allocations: 0 / 0.9733 GB, free: 6.281 MB / 0.6199 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.006593/0.4752, allocations: 1.609 MB / 0.9748 GB, free: 4.598 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.4753, allocations: 8.031 kB / 0.9748 GB, free: 4.59 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.4765, allocations: 179 kB / 0.975 GB, free: 4.414 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/0.4814, allocations: 1.12 MB / 0.9761 GB, free: 3.238 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.4816, allocations: 70 kB / 0.9762 GB, free: 3.172 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.482, allocations: 92 kB / 0.9763 GB, free: 3.082 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.486, allocations: 0.941 MB / 0.9772 GB, free: 2.102 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.4862, allocations: 7.938 kB / 0.9772 GB, free: 2.094 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.4864, allocations: 39.98 kB / 0.9772 GB, free: 2.055 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.73e-05/0.4865, allocations: 20 kB / 0.9772 GB, free: 2.035 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/0.4898, allocations: 0.6597 MB / 0.9779 GB, free: 1.375 MB / 0.6199 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.01293/0.5028, allocations: 4.069 MB / 0.9819 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.5045, allocations: 380.5 kB / 0.9822 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/0.5055, allocations: 254.1 kB / 0.9825 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008359/0.5064, allocations: 0.507 MB / 0.983 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.5077, allocations: 346 kB / 0.9833 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 8.706e-06/0.5078, allocations: 3.984 kB / 0.9833 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.008676/0.5165, allocations: 1.934 MB / 0.9852 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.5167, allocations: 144.9 kB / 0.9853 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.5199, allocations: 1.074 MB / 0.9864 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.5202, allocations: 45.64 kB / 0.9864 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.5212, allocations: 0.578 MB / 0.987 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/0.5216, allocations: 181.4 kB / 0.9871 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.5217, allocations: 16 kB / 0.9872 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5219, allocations: 337.9 kB / 0.9875 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.5228, allocations: 213.9 kB / 0.9877 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.5241, allocations: 433.8 kB / 0.9881 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5252, allocations: 307.7 kB / 0.9884 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.5253, allocations: 0 / 0.9884 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003524/0.5288, allocations: 0.8836 MB / 0.9893 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003069/0.5292, allocations: 249.1 kB / 0.9895 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.5292, allocations: 4 kB / 0.9895 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007608/0.53, allocations: 105.7 kB / 0.9896 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5312, allocations: 127.8 kB / 0.9897 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.5348, allocations: 2.18 MB / 0.9918 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.5373, allocations: 91.77 kB / 0.9919 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.5376, allocations: 28 kB / 0.992 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5376, allocations: 8 kB / 0.992 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003013/0.5407, allocations: 0.7779 MB / 0.9927 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.5407, allocations: 4 kB / 0.9927 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.5414, allocations: 105.7 kB / 0.9928 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.5425, allocations: 119.8 kB / 0.9929 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/0.5462, allocations: 2.168 MB / 0.9951 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.5486, allocations: 91.89 kB / 0.9952 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.5489, allocations: 35.97 kB / 0.9952 GB, free: 14.61 MB / 0.6511 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 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001277/0.5501, allocations: 422.6 kB / 0.9956 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.5506, allocations: 122.5 kB / 0.9957 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.5538, allocations: 0.8117 MB / 0.9965 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002502/0.5564, allocations: 0.6917 MB / 0.9972 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.5565, allocations: 3.938 kB / 0.9972 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.5577, allocations: 271.6 kB / 0.9974 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/0.5583, allocations: 12 kB / 0.9974 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/0.5604, allocations: 59.78 kB / 0.9975 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.5606, allocations: 32.39 kB / 0.9975 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003833/0.5645, allocations: 0.8412 MB / 0.9984 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003875/0.5684, allocations: 1.092 MB / 0.9994 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008997/0.5694, allocations: 243.5 kB / 0.9997 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002563/0.572, allocations: 0.7486 MB / 1 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of Backend: time 1.353e-06/0.572, allocations: 0 / 1 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007682/0.5797, allocations: 1.624 MB / 1.002 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of SimCode: time 0.01344/0.5932, allocations: 3.327 MB / 1.005 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of Templates: time 0.1023/0.6956, allocations: 25.3 MB / 1.03 GB, free: 10.96 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)