Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.749/2.749, allocations: 287.9 MB / 302.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 179 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 96.17 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007912/0.0007915, allocations: 14.5 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1604, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.9651/1.126, allocations: 235.1 MB / 1.208 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1005/1.226, allocations: 46.55 MB / 1.254 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/1.237, allocations: 250.2 kB / 1.254 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0132/1.25, allocations: 3.292 MB / 1.257 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.03638/1.287, allocations: 9.165 MB / 1.266 GB, free: 9.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02936/1.316, allocations: 7.68 MB / 1.274 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01857/1.335, allocations: 7.548 MB / 1.281 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008578/1.343, allocations: 3.59 MB / 1.285 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/1.356, allocations: 4.137 MB / 1.289 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006696/1.362, allocations: 2.637 MB / 1.291 GB, free: 88 kB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002665/1.365, allocations: 204 kB / 1.291 GB, free: 15.88 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/1.378, allocations: 2.329 MB / 1.294 GB, free: 13.55 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002335/1.38, allocations: 1.031 MB / 1.295 GB, free: 12.52 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/1.383, allocations: 1.061 MB / 1.296 GB, free: 11.45 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/1.395, allocations: 6.047 MB / 1.302 GB, free: 5.387 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.417e-06/1.395, allocations: 0 / 1.302 GB, free: 5.387 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.699e-06/1.395, allocations: 0 / 1.302 GB, free: 5.387 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001963/1.395, allocations: 0 / 1.302 GB, free: 5.387 MB / 0.823 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.01458/1.41, allocations: 5.29 MB / 1.307 GB, free: 8 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/1.41, allocations: 12.08 kB / 1.307 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005388/1.415, allocations: 1.012 MB / 1.308 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/1.426, allocations: 3.821 MB / 1.312 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/1.427, allocations: 370.2 kB / 1.312 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009927/1.428, allocations: 307.9 kB / 1.312 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/1.439, allocations: 3.348 MB / 1.315 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.183e-05/1.439, allocations: 7.938 kB / 1.315 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005333/1.44, allocations: 120 kB / 1.316 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.606e-05/1.44, allocations: 75.95 kB / 1.316 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/1.45, allocations: 2.734 MB / 1.318 GB, free: 3.965 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 preOpt removeSimpleEquations (simulation): time 0.03861/1.489, allocations: 18.58 MB / 1.336 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/1.495, allocations: 2.055 MB / 1.338 GB, free: 13.67 MB / 0.8698 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.01268/1.508, allocations: 4.135 MB / 1.342 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/1.508, allocations: 51.88 kB / 1.343 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004423/1.513, allocations: 0.8684 MB / 1.343 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=151): time 9.061e-06/1.513, allocations: 0 / 1.343 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156): time 0.03478/1.548, allocations: 7.837 MB / 1.351 GB, free: 460 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000299/1.548, allocations: 462.3 kB / 1.351 GB, free: 15.89 MB / 0.8855 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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.009121/1.557, allocations: 4.206 MB / 1.356 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004802/1.558, allocations: 65.7 kB / 1.356 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003078/1.561, allocations: 2.285 MB / 1.358 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009501/1.562, allocations: 0.5468 MB / 1.358 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.562, allocations: 44 kB / 1.358 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000287/1.562, allocations: 402.7 kB / 1.359 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/1.566, allocations: 1.043 MB / 1.36 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004648/1.57, allocations: 1.956 MB / 1.362 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/1.574, allocations: 1.259 MB / 1.363 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/1.575, allocations: 8 kB / 1.363 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01526/1.59, allocations: 3.926 MB / 1.367 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004809/1.595, allocations: 8.976 MB / 1.376 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.595, allocations: 31.92 kB / 1.376 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00446/1.599, allocations: 0.6307 MB / 1.376 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/1.603, allocations: 0.5811 MB / 1.377 GB, free: 4.758 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.614, allocations: 5.391 MB / 1.382 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/1.619, allocations: 354.8 kB / 1.382 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006801/1.62, allocations: 135.9 kB / 1.383 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.62, allocations: 1.719 kB / 1.383 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01276/1.633, allocations: 3.317 MB / 1.386 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/1.633, allocations: 28 kB / 1.386 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/1.637, allocations: 0.5883 MB / 1.386 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/1.64, allocations: 0.5577 MB / 1.387 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.654, allocations: 6.724 MB / 1.394 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/1.659, allocations: 336.7 kB / 1.394 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/1.659, allocations: 131.9 kB / 1.394 GB, free: 2.469 MB / 0.9167 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 (266): * Single equations (assignments): 251 * 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.003147/1.663, allocations: 0.9179 MB / 1.395 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.664, allocations: 458.2 kB / 1.395 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.675, allocations: 3.113 MB / 1.398 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/1.675, allocations: 16 kB / 1.398 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.675, allocations: 7.984 kB / 1.398 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008239/1.684, allocations: 2.341 MB / 1.401 GB, free: 11.55 MB / 0.9323 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.01951/1.703, allocations: 6.202 MB / 1.407 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.703, allocations: 0 / 1.407 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/1.706, allocations: 379.5 kB / 1.407 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/1.708, allocations: 358.3 kB / 1.407 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003806/1.708, allocations: 59.95 kB / 1.407 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007148/1.716, allocations: 4.359 MB / 1.412 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.523e-06/1.716, allocations: 0 / 1.412 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.729, allocations: 4.021 MB / 1.416 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002854/1.732, allocations: 0.7915 MB / 1.416 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.733, allocations: 44 kB / 1.416 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/1.738, allocations: 308.1 kB / 1.417 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000442/1.738, allocations: 121.8 kB / 1.417 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/1.738, allocations: 75.94 kB / 1.417 GB, free: 10.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007207/1.746, allocations: 2.776 MB / 1.42 GB, free: 7.648 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.404e-06/1.746, allocations: 0 / 1.42 GB, free: 7.648 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0103/1.756, allocations: 2.054 MB / 1.422 GB, free: 5.594 MB / 0.948 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.002278/1.758, allocations: 0.8539 MB / 1.422 GB, free: 4.727 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.5692/2.327, allocations: 5.188 MB / 1.428 GB, free: 340.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/2.328, allocations: 1.719 kB / 1.428 GB, free: 340.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/2.332, allocations: 1.446 MB / 1.429 GB, free: 340.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/2.345, allocations: 2.271 MB / 1.431 GB, free: 340.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/2.365, allocations: 9.234 MB / 1.44 GB, free: 336 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003953/2.369, allocations: 2.651 MB / 1.443 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006983/2.376, allocations: 0.9859 MB / 1.444 GB, free: 335 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/2.378, allocations: 365.3 kB / 1.444 GB, free: 335 MB / 0.948 GB Notification: Performance of SimCode: time 1.881e-06/2.378, allocations: 0 / 1.444 GB, free: 335 MB / 0.948 GB Notification: Performance of Templates: time 0.2345/2.612, allocations: 87.02 MB / 1.529 GB, free: 276.9 MB / 0.948 GB