Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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.BoilerPolynomialClosedLoop,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") [/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.1906/0.1915, allocations: 82.21 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.6793/0.8708, allocations: 257.1 MB / 0.8446 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.07061/0.9415, allocations: 47.15 MB / 0.8906 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01448/0.9561, allocations: 270.2 kB / 0.8909 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008738/0.9648, allocations: 1.945 MB / 0.8928 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.019/0.9839, allocations: 5.23 MB / 0.8979 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0168/1.001, allocations: 4.953 MB / 0.9027 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02209/1.023, allocations: 14.07 MB / 0.9164 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007427/1.03, allocations: 3.466 MB / 0.9198 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/1.042, allocations: 4.262 MB / 0.924 GB, free: 8.082 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007776/1.05, allocations: 3.625 MB / 0.9275 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/1.052, allocations: 220 kB / 0.9277 GB, free: 4.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00787/1.06, allocations: 2.215 MB / 0.9299 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002594/1.062, allocations: 1.081 MB / 0.931 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003061/1.066, allocations: 1.019 MB / 0.9319 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/1.076, allocations: 6.116 MB / 0.9379 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.076, allocations: 0 / 0.9379 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/1.076, allocations: 0 / 0.9379 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002913/1.077, allocations: 0 / 0.9379 GB, free: 9.766 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 665 * Number of variables: 665 Notification: Performance of Generate backend data structure: time 0.01383/1.091, allocations: 5.309 MB / 0.9431 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.091, allocations: 11.97 kB / 0.9431 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/1.095, allocations: 0.9887 MB / 0.9441 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/1.106, allocations: 3.857 MB / 0.9478 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008074/1.107, allocations: 353.8 kB / 0.9482 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/1.108, allocations: 296 kB / 0.9485 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008203/1.116, allocations: 3.609 MB / 0.952 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/1.116, allocations: 7.906 kB / 0.952 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/1.116, allocations: 108 kB / 0.9521 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/1.116, allocations: 67.98 kB / 0.9522 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008096/1.125, allocations: 3.104 MB / 0.9552 GB, free: 7.727 MB / 0.7012 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.4745/1.599, allocations: 17.87 MB / 0.9727 GB, free: 254.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/1.606, allocations: 2.152 MB / 0.9748 GB, free: 254.5 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/1.609, allocations: 1.127 MB / 0.9759 GB, free: 254.4 MB / 0.7012 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 evalFunc (simulation): time 0.01357/1.622, allocations: 5.297 MB / 0.981 GB, free: 252 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/1.622, allocations: 61.27 kB / 0.9811 GB, free: 252 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004529/1.627, allocations: 0.8027 MB / 0.9819 GB, free: 251.9 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=148): time 2.29e-05/1.627, allocations: 3.938 kB / 0.9819 GB, free: 251.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=151): time 0.03915/1.666, allocations: 9.391 MB / 0.991 GB, free: 248.2 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/1.666, allocations: 325.3 kB / 0.9914 GB, free: 247.9 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009425/1.676, allocations: 4.047 MB / 0.9953 GB, free: 245.8 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009496/1.677, allocations: 69.86 kB / 0.9954 GB, free: 245.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.679, allocations: 2.23 MB / 0.9975 GB, free: 243.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.68, allocations: 0.5256 MB / 0.9981 GB, free: 243.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/1.68, allocations: 43.88 kB / 0.9981 GB, free: 243.3 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.681, allocations: 390.2 kB / 0.9985 GB, free: 242.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.683, allocations: 1.235 MB / 0.9997 GB, free: 242.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/1.687, allocations: 2.158 MB / 1.002 GB, free: 240.6 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/1.69, allocations: 1.499 MB / 1.003 GB, free: 239.9 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.69, allocations: 3.969 kB / 1.003 GB, free: 239.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0149/1.705, allocations: 4.995 MB / 1.008 GB, free: 237.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/1.706, allocations: 0.6396 MB / 1.009 GB, free: 236.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.579e-05/1.706, allocations: 15.5 kB / 1.009 GB, free: 236.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/1.709, allocations: 0.9059 MB / 1.01 GB, free: 236.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.712, allocations: 0.5135 MB / 1.01 GB, free: 236.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/1.73, allocations: 9.488 MB / 1.019 GB, free: 228.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/1.737, allocations: 459.7 kB / 1.02 GB, free: 228.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008228/1.738, allocations: 143.9 kB / 1.02 GB, free: 228.3 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.738, allocations: 10.66 kB / 1.02 GB, free: 228.3 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007841/1.745, allocations: 3.628 MB / 1.024 GB, free: 224.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-05/1.746, allocations: 20.86 kB / 1.024 GB, free: 224.6 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/1.748, allocations: 0.5909 MB / 1.024 GB, free: 224 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.75, allocations: 483.2 kB / 1.025 GB, free: 223.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007404/1.757, allocations: 6.695 MB / 1.031 GB, free: 216.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005162/1.763, allocations: 379 kB / 1.032 GB, free: 216.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005971/1.763, allocations: 135.9 kB / 1.032 GB, free: 215.9 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 217 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.00361/1.767, allocations: 0.8719 MB / 1.032 GB, free: 215 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002265/1.769, allocations: 446.3 kB / 1.033 GB, free: 214.6 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.781, allocations: 3.902 MB / 1.037 GB, free: 210.7 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/1.781, allocations: 16 kB / 1.037 GB, free: 210.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.781, allocations: 4 kB / 1.037 GB, free: 210.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008327/1.789, allocations: 3.157 MB / 1.04 GB, free: 207.5 MB / 0.7012 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 postOpt removeSimpleEquations (simulation): time 0.0204/1.81, allocations: 6.873 MB / 1.047 GB, free: 200.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.81, allocations: 0 / 1.047 GB, free: 200.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.811, allocations: 379.6 kB / 1.047 GB, free: 200.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/1.814, allocations: 0.6776 MB / 1.048 GB, free: 199.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/1.814, allocations: 51.95 kB / 1.048 GB, free: 199.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.828, allocations: 7.944 MB / 1.055 GB, free: 191.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.828, allocations: 4.031 kB / 1.055 GB, free: 191.1 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.842, allocations: 5.01 MB / 1.06 GB, free: 186.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/1.845, allocations: 0.7292 MB / 1.061 GB, free: 185.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/1.846, allocations: 39.98 kB / 1.061 GB, free: 185.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/1.851, allocations: 363.2 kB / 1.061 GB, free: 184.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.851, allocations: 133.7 kB / 1.061 GB, free: 184.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.851, allocations: 55.97 kB / 1.062 GB, free: 184.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.006262/1.857, allocations: 2.677 MB / 1.064 GB, free: 182.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/1.857, allocations: 0 / 1.064 GB, free: 182.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01215/1.87, allocations: 2.099 MB / 1.066 GB, free: 180 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (boi.heaCapDry.T,val.filter.x[1],val.filter.x[2],pumLoa.filter.x[1],pumLoa.filter.x[2],pumBoi.filter.x[1],pumBoi.filter.x[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002397/1.872, allocations: 0.7993 MB / 1.067 GB, free: 179.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01437/1.886, allocations: 7.042 MB / 1.074 GB, free: 172.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.886, allocations: 0 / 1.074 GB, free: 172.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/1.891, allocations: 1.957 MB / 1.076 GB, free: 170.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01406/1.905, allocations: 2.281 MB / 1.078 GB, free: 167.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/1.928, allocations: 9.618 MB / 1.087 GB, free: 158.3 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/1.931, allocations: 2.489 MB / 1.09 GB, free: 155.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.005348/1.937, allocations: 0.856 MB / 1.091 GB, free: 154.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.938, allocations: 343.3 kB / 1.091 GB, free: 154.6 MB / 0.7012 GB Notification: Performance of SimCode: time 1.162e-06/1.938, allocations: 0 / 1.091 GB, free: 154.6 MB / 0.7012 GB Notification: Performance of Templates: time 0.1455/2.083, allocations: 95.22 MB / 1.184 GB, free: 60.02 MB / 0.7012 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) Environment - environmentSimulation: