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.204/0.2047, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05541/0.2602, allocations: 54.93 MB / 0.6477 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2771, allocations: 8.912 MB / 0.6565 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.2802, allocations: 47.69 kB / 0.6565 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.2833, allocations: 0.5906 MB / 0.6571 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007006/0.2903, allocations: 1.66 MB / 0.6587 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.2947, allocations: 1.145 MB / 0.6598 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007336/0.302, allocations: 4.704 MB / 0.6644 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.3042, allocations: 0.9727 MB / 0.6654 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.3071, allocations: 1.054 MB / 0.6664 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.3097, allocations: 1.003 MB / 0.6674 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004519/0.3102, allocations: 55.94 kB / 0.6674 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.3134, allocations: 1.045 MB / 0.6684 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000667/0.3141, allocations: 266.7 kB / 0.6687 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.3158, allocations: 0.7128 MB / 0.6694 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.3205, allocations: 2.255 MB / 0.6716 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3205, allocations: 0 / 0.6716 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3206, allocations: 0 / 0.6716 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001112/0.3207, allocations: 4 kB / 0.6716 GB, free: 5.965 MB / 0.5137 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.004678/0.3254, allocations: 1.582 MB / 0.6731 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3254, allocations: 8.031 kB / 0.6731 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009797/0.3264, allocations: 171.1 kB / 0.6733 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.3294, allocations: 1.146 MB / 0.6744 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3296, allocations: 74 kB / 0.6745 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.3299, allocations: 96 kB / 0.6746 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.3332, allocations: 1.235 MB / 0.6758 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.3332, allocations: 3.938 kB / 0.6758 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3333, allocations: 40 kB / 0.6758 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.3334, allocations: 28 kB / 0.6759 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.3359, allocations: 0.8975 MB / 0.6767 GB, free: 0.5039 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.007198/0.3431, allocations: 4.989 MB / 0.6816 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3449, allocations: 0.59 MB / 0.6822 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.3453, allocations: 239.2 kB / 0.6824 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.3456, allocations: 182.6 kB / 0.6826 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.3472, allocations: 0.5194 MB / 0.6831 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.557e-06/0.3472, allocations: 0 / 0.6831 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51): time 0.007335/0.3545, allocations: 2.366 MB / 0.6854 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.3547, allocations: 247.7 kB / 0.6856 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.3569, allocations: 1.102 MB / 0.6867 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.3571, allocations: 37.7 kB / 0.6868 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007994/0.3579, allocations: 0.593 MB / 0.6873 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.3582, allocations: 169.6 kB / 0.6875 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.3583, allocations: 69.67 kB / 0.6876 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3585, allocations: 337.9 kB / 0.6879 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.3593, allocations: 289.8 kB / 0.6882 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3604, allocations: 0.5999 MB / 0.6888 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.3623, allocations: 0.8339 MB / 0.6896 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3623, allocations: 0 / 0.6896 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002623/0.3649, allocations: 1.071 MB / 0.6906 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.3652, allocations: 307.1 kB / 0.6909 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.3653, allocations: 4 kB / 0.6909 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/0.3658, allocations: 121.6 kB / 0.691 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.3665, allocations: 167.7 kB / 0.6912 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.459/0.8255, allocations: 2.182 MB / 0.6933 GB, free: 95.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.8276, allocations: 135.3 kB / 0.6934 GB, free: 95.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/0.8277, allocations: 35.89 kB / 0.6935 GB, free: 95.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8277, allocations: 2.969 kB / 0.6935 GB, free: 95.45 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/0.8294, allocations: 0.8239 MB / 0.6943 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.8295, allocations: 6.375 kB / 0.6943 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.8299, allocations: 110 kB / 0.6944 GB, free: 95.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.8304, allocations: 140 kB / 0.6945 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.8319, allocations: 2.189 MB / 0.6967 GB, free: 93.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.8332, allocations: 101.9 kB / 0.6968 GB, free: 93.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.8332, allocations: 32.78 kB / 0.6968 GB, free: 93.51 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 (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 (80): * Single equations (assignments): 77 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007762/0.834, allocations: 426.5 kB / 0.6972 GB, free: 93.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.8342, allocations: 123.7 kB / 0.6973 GB, free: 93.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.836, allocations: 0.8649 MB / 0.6982 GB, free: 93.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.836, allocations: 4.125 kB / 0.6982 GB, free: 93.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.836, allocations: 0 / 0.6982 GB, free: 93.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001412/0.8374, allocations: 0.8238 MB / 0.699 GB, free: 92.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.8409, allocations: 1.95 MB / 0.7009 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.841, allocations: 0.8125 kB / 0.7009 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.8415, allocations: 111.7 kB / 0.701 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002718/0.8418, allocations: 101.3 kB / 0.7011 GB, free: 92.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.8419, allocations: 16.48 kB / 0.7011 GB, free: 92.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.8433, allocations: 2.171 MB / 0.7032 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8433, allocations: 5.219 kB / 0.7032 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.8458, allocations: 1.301 MB / 0.7045 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/0.8464, allocations: 279.6 kB / 0.7048 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.8466, allocations: 16.38 kB / 0.7048 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.8474, allocations: 86.48 kB / 0.7049 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8476, allocations: 34.61 kB / 0.7049 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.8476, allocations: 26.17 kB / 0.7049 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001211/0.8488, allocations: 0.7534 MB / 0.7056 GB, free: 90.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8489, allocations: 0 / 0.7056 GB, free: 90.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002008/0.8509, allocations: 0.5803 MB / 0.7062 GB, free: 90.22 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 (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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009213/0.8518, allocations: 339.1 kB / 0.7065 GB, free: 90.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003413/0.8552, allocations: 1.53 MB / 0.708 GB, free: 89.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.8552, allocations: 0 / 0.708 GB, free: 89.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.8562, allocations: 0.5196 MB / 0.7085 GB, free: 89.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/0.86, allocations: 0.6605 MB / 0.7092 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.8648, allocations: 2.53 MB / 0.7117 GB, free: 88.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.866, allocations: 1.118 MB / 0.7127 GB, free: 87.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001749/0.8678, allocations: 229 kB / 0.713 GB, free: 87.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.8681, allocations: 89.42 kB / 0.7131 GB, free: 87.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.114e-06/0.8681, allocations: 0 / 0.7131 GB, free: 87.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.05144/0.9196, allocations: 25.59 MB / 0.738 GB, free: 70.98 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: