Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) 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_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1675/0.1682, allocations: 82.22 MB / 0.5934 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04541/0.2136, allocations: 47.12 MB / 0.6394 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.2273, allocations: 7.808 MB / 0.647 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.2294, allocations: 43.75 kB / 0.647 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.2319, allocations: 0.6064 MB / 0.6476 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.2378, allocations: 1.601 MB / 0.6492 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.2415, allocations: 1.075 MB / 0.6502 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00402/0.2455, allocations: 2.14 MB / 0.6523 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.247, allocations: 0.8785 MB / 0.6532 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.2487, allocations: 0.9108 MB / 0.6541 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000895/0.2496, allocations: 0.6689 MB / 0.6547 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.2498, allocations: 52 kB / 0.6548 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.2518, allocations: 0.706 MB / 0.6555 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.2521, allocations: 255 kB / 0.6557 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.2525, allocations: 317 kB / 0.656 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.2544, allocations: 1.644 MB / 0.6576 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2544, allocations: 0 / 0.6576 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2544, allocations: 0 / 0.6576 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.2544, allocations: 0 / 0.6576 GB, free: 4.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002722/0.2571, allocations: 1.59 MB / 0.6592 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2572, allocations: 8.031 kB / 0.6592 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.2576, allocations: 170.2 kB / 0.6593 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.2594, allocations: 1.041 MB / 0.6604 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.2594, allocations: 77.95 kB / 0.6604 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.2596, allocations: 92 kB / 0.6605 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.262, allocations: 1.224 MB / 0.6617 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.262, allocations: 7.938 kB / 0.6617 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.2621, allocations: 36 kB / 0.6618 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.2622, allocations: 31.94 kB / 0.6618 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.2642, allocations: 0.8859 MB / 0.6627 GB, free: 14.72 MB / 0.5137 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.005562/0.2697, allocations: 5.017 MB / 0.6676 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2713, allocations: 0.598 MB / 0.6681 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.2716, allocations: 182.3 kB / 0.6683 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.273, allocations: 0.5161 MB / 0.6688 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/0.273, allocations: 0 / 0.6688 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=51): time 0.005832/0.2788, allocations: 2.427 MB / 0.6712 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.279, allocations: 247.7 kB / 0.6714 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.2804, allocations: 1.141 MB / 0.6725 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.2804, allocations: 37.7 kB / 0.6726 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.2809, allocations: 0.5931 MB / 0.6732 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.2811, allocations: 173.6 kB / 0.6733 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.2811, allocations: 12 kB / 0.6733 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2813, allocations: 337.9 kB / 0.6737 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.2819, allocations: 289.8 kB / 0.6739 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.2827, allocations: 0.5876 MB / 0.6745 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.2835, allocations: 387.6 kB / 0.6749 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2835, allocations: 4 kB / 0.6749 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001861/0.2853, allocations: 1.051 MB / 0.6759 GB, free: 492 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009461/0.2863, allocations: 2.495 MB / 0.6783 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2863, allocations: 8 kB / 0.6783 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.2867, allocations: 109.6 kB / 0.6785 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.2874, allocations: 171.7 kB / 0.6786 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.2893, allocations: 2.196 MB / 0.6808 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.2908, allocations: 131.8 kB / 0.6809 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.2909, allocations: 39.97 kB / 0.6809 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2909, allocations: 4 kB / 0.6809 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/0.2922, allocations: 0.817 MB / 0.6817 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2923, allocations: 8 kB / 0.6817 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.2926, allocations: 113.6 kB / 0.6818 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.293, allocations: 131.8 kB / 0.682 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2948, allocations: 2.208 MB / 0.6841 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.2959, allocations: 99.88 kB / 0.6842 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.2959, allocations: 28 kB / 0.6842 GB, free: 7.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 77 * 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.0007374/0.2967, allocations: 433.4 kB / 0.6847 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.2969, allocations: 126.5 kB / 0.6848 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.2986, allocations: 0.861 MB / 0.6856 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.2987, allocations: 11.94 kB / 0.6856 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2987, allocations: 7.891 kB / 0.6856 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.3001, allocations: 0.8105 MB / 0.6864 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.3037, allocations: 1.962 MB / 0.6883 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3037, allocations: 4 kB / 0.6884 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.3043, allocations: 103.8 kB / 0.6885 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.3045, allocations: 105.7 kB / 0.6886 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.3046, allocations: 11.98 kB / 0.6886 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.3063, allocations: 2.18 MB / 0.6907 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3063, allocations: 4.031 kB / 0.6907 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3829/0.6893, allocations: 1.362 MB / 0.692 GB, free: 95.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/0.6899, allocations: 288.4 kB / 0.6923 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.6901, allocations: 15.73 kB / 0.6923 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/0.6909, allocations: 87.09 kB / 0.6924 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.691, allocations: 36.25 kB / 0.6924 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.6911, allocations: 25.12 kB / 0.6925 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001188/0.6923, allocations: 0.7843 MB / 0.6932 GB, free: 95.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6923, allocations: 0 / 0.6932 GB, free: 95.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001731/0.694, allocations: 0.5866 MB / 0.6938 GB, free: 95.21 MB / 0.5294 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): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0005848/0.6946, allocations: 339 kB / 0.6941 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.697, allocations: 1.515 MB / 0.6956 GB, free: 94.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6971, allocations: 0.7031 kB / 0.6956 GB, free: 94.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.6979, allocations: 0.5239 MB / 0.6961 GB, free: 94.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/0.7011, allocations: 0.6397 MB / 0.6967 GB, free: 94.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.7045, allocations: 2.41 MB / 0.6991 GB, free: 93.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.7051, allocations: 1.139 MB / 0.7002 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001107/0.7062, allocations: 232.2 kB / 0.7004 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.7064, allocations: 95.5 kB / 0.7005 GB, free: 92.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.7064, allocations: 1.031 kB / 0.7005 GB, free: 92.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.04707/0.7535, allocations: 25.22 MB / 0.7251 GB, free: 81.36 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) Environment - environmentSimulation: