Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.424/2.424, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00219/0.00219, allocations: 188.4 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.499/2.499, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 99.91 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 15.16 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 1.085/1.317, allocations: 235.1 MB / 1.128 GB, free: 45.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.09303/1.41, allocations: 46.52 MB / 1.174 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/1.423, allocations: 244 kB / 1.174 GB, free: 17.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.01571/1.439, allocations: 3.295 MB / 1.177 GB, free: 14.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.04027/1.479, allocations: 9.169 MB / 1.186 GB, free: 6.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.03143/1.51, allocations: 7.506 MB / 1.194 GB, free: 144 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02265/1.533, allocations: 7.528 MB / 1.201 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/1.544, allocations: 3.59 MB / 1.205 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01486/1.559, allocations: 4.114 MB / 1.209 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007924/1.567, allocations: 2.637 MB / 1.211 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002065/1.569, allocations: 204 kB / 1.211 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/1.58, allocations: 2.305 MB / 1.214 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003002/1.583, allocations: 1.027 MB / 1.215 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00358/1.586, allocations: 1.061 MB / 1.216 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/1.602, allocations: 6.006 MB / 1.221 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.602, allocations: 0 / 1.221 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.416e-06/1.602, allocations: 0 / 1.221 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003151/1.602, allocations: 4 kB / 1.221 GB, free: 3.555 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 695 * Number of variables: 695 Notification: Performance of Generate backend data structure: time 0.01911/1.621, allocations: 5.279 MB / 1.227 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.621, allocations: 8.031 kB / 1.227 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/1.629, allocations: 1.008 MB / 1.228 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/1.642, allocations: 3.824 MB / 1.231 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001491/1.643, allocations: 362.3 kB / 1.232 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/1.645, allocations: 311.8 kB / 1.232 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/1.657, allocations: 3.35 MB / 1.235 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/1.657, allocations: 11.94 kB / 1.235 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/1.658, allocations: 112 kB / 1.235 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/1.658, allocations: 68 kB / 1.235 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/1.671, allocations: 2.745 MB / 1.238 GB, free: 2.16 MB / 0.7448 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.0461/1.717, allocations: 18.55 MB / 1.256 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/1.726, allocations: 2.065 MB / 1.258 GB, free: 11.91 MB / 0.7761 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.01386/1.74, allocations: 4.104 MB / 1.262 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/1.74, allocations: 55.81 kB / 1.262 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006211/1.746, allocations: 0.8568 MB / 1.263 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=151): time 1.364e-05/1.746, allocations: 0 / 1.263 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=156): time 0.04681/1.793, allocations: 7.845 MB / 1.271 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/1.793, allocations: 458.2 kB / 1.271 GB, free: 14.16 MB / 0.7917 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.804, allocations: 4.203 MB / 1.275 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006927/1.805, allocations: 73.7 kB / 1.275 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.003642/1.808, allocations: 2.271 MB / 1.278 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/1.81, allocations: 0.5429 MB / 1.278 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/1.81, allocations: 48 kB / 1.278 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000289/1.81, allocations: 398.7 kB / 1.279 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/1.815, allocations: 1.031 MB / 1.28 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/1.821, allocations: 1.955 MB / 1.282 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/1.826, allocations: 1.247 MB / 1.283 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-05/1.826, allocations: 4 kB / 1.283 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.02022/1.846, allocations: 3.918 MB / 1.287 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004081/1.851, allocations: 8.988 MB / 1.295 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.851, allocations: 27.98 kB / 1.295 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/1.857, allocations: 0.6307 MB / 1.296 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/1.862, allocations: 0.5772 MB / 1.297 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.875, allocations: 5.378 MB / 1.302 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007028/1.882, allocations: 348.7 kB / 1.302 GB, free: 13.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/1.883, allocations: 135.9 kB / 1.302 GB, free: 12.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.883, allocations: 6.031 kB / 1.302 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01646/1.899, allocations: 3.301 MB / 1.305 GB, free: 9.609 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.9, allocations: 24 kB / 1.306 GB, free: 9.586 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/1.905, allocations: 0.5846 MB / 1.306 GB, free: 8.992 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.91, allocations: 0.5538 MB / 1.307 GB, free: 8.438 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.925, allocations: 6.781 MB / 1.313 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006609/1.932, allocations: 328.8 kB / 1.314 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006946/1.933, allocations: 131.9 kB / 1.314 GB, free: 0.7578 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 249 * Array equations: 7 * 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 prepare postOptimizeDAE: time 0.003469/1.936, allocations: 0.9183 MB / 1.315 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.938, allocations: 470 kB / 1.315 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/1.952, allocations: 3.101 MB / 1.318 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-05/1.952, allocations: 20 kB / 1.318 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.953, allocations: 11.94 kB / 1.318 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0111/1.964, allocations: 2.333 MB / 1.32 GB, free: 9.836 MB / 0.8386 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.02335/1.987, allocations: 6.183 MB / 1.326 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/1.987, allocations: 0 / 1.326 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/1.991, allocations: 379.5 kB / 1.327 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.994, allocations: 362.2 kB / 1.327 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004497/1.994, allocations: 55.95 kB / 1.327 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007716/2.002, allocations: 4.357 MB / 1.331 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.002, allocations: 0 / 1.331 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/2.019, allocations: 4.021 MB / 1.335 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003217/2.023, allocations: 0.78 MB / 1.336 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/2.024, allocations: 47.94 kB / 1.336 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006057/2.03, allocations: 303.4 kB / 1.336 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006049/2.031, allocations: 121.8 kB / 1.337 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003096/2.031, allocations: 79.88 kB / 1.337 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007771/2.039, allocations: 2.772 MB / 1.339 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.92e-07/2.039, allocations: 3.938 kB / 1.339 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01228/2.051, allocations: 2.047 MB / 1.341 GB, free: 3.934 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (boi.heaCapDry.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2],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 (164): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002786/2.054, allocations: 0.8261 MB / 1.342 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0192/2.073, allocations: 5.169 MB / 1.347 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.073, allocations: 0 / 1.347 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005646/2.079, allocations: 1.45 MB / 1.349 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01878/2.098, allocations: 2.265 MB / 1.351 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/2.122, allocations: 9.23 MB / 1.36 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003851/2.126, allocations: 2.645 MB / 1.362 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007967/2.134, allocations: 0.986 MB / 1.363 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/2.136, allocations: 363.3 kB / 1.364 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/2.136, allocations: 0 / 1.364 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of Templates: time 0.8468/2.983, allocations: 86.65 MB / 1.448 GB, free: 330.3 MB / 0.9167 GB