Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 98.73 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 114.5 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.6487/0.8991, allocations: 280.9 MB / 1.058 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.08356/0.9827, allocations: 53.33 MB / 1.11 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01435/0.9971, allocations: 306.1 kB / 1.111 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00997/1.007, allocations: 2.939 MB / 1.114 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02089/1.028, allocations: 6.764 MB / 1.12 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01658/1.045, allocations: 6.587 MB / 1.127 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.5256/1.57, allocations: 12.46 MB / 1.139 GB, free: 67.55 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008125/1.578, allocations: 4.782 MB / 1.143 GB, free: 67.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01505/1.594, allocations: 5.566 MB / 1.149 GB, free: 67.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009084/1.603, allocations: 3.869 MB / 1.153 GB, free: 66.94 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002696/1.605, allocations: 466.3 kB / 1.153 GB, free: 66.94 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/1.615, allocations: 3.055 MB / 1.156 GB, free: 66.94 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003474/1.619, allocations: 1.355 MB / 1.157 GB, free: 66.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008432/1.627, allocations: 2.848 MB / 1.16 GB, free: 65.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/1.646, allocations: 7.922 MB / 1.168 GB, free: 65.05 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.646, allocations: 0 / 1.168 GB, free: 65.05 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.013e-06/1.646, allocations: 0.625 kB / 1.168 GB, free: 65.05 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003191/1.646, allocations: 0 / 1.168 GB, free: 65.05 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 679 * Number of variables: 679 Notification: Performance of Generate backend data structure: time 0.02095/1.667, allocations: 6.062 MB / 1.174 GB, free: 62.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.667, allocations: 11.22 kB / 1.174 GB, free: 62.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/1.673, allocations: 0.9381 MB / 1.175 GB, free: 62.15 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/1.684, allocations: 3.907 MB / 1.179 GB, free: 61.21 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000902/1.685, allocations: 337.1 kB / 1.179 GB, free: 61.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/1.686, allocations: 296.7 kB / 1.179 GB, free: 61.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008189/1.695, allocations: 3.217 MB / 1.182 GB, free: 60.76 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.335e-05/1.695, allocations: 2.969 kB / 1.182 GB, free: 60.76 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/1.695, allocations: 110.8 kB / 1.183 GB, free: 60.76 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/1.695, allocations: 71.98 kB / 1.183 GB, free: 60.76 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006723/1.702, allocations: 2.593 MB / 1.185 GB, free: 60.71 MB / 0.92 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.03068/1.733, allocations: 18.2 MB / 1.203 GB, free: 50.22 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/1.737, allocations: 1.809 MB / 1.205 GB, free: 50.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/1.739, allocations: 1.005 MB / 1.206 GB, free: 50.04 MB / 0.92 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.009117/1.748, allocations: 3.739 MB / 1.209 GB, free: 48.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/1.748, allocations: 56.42 kB / 1.209 GB, free: 48.82 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003279/1.751, allocations: 390.6 kB / 1.21 GB, free: 48.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=140): time 1.012e-05/1.751, allocations: 0 / 1.21 GB, free: 48.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=145): time 0.03303/1.785, allocations: 8.415 MB / 1.218 GB, free: 47.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.785, allocations: 245.8 kB / 1.218 GB, free: 46.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007649/1.792, allocations: 4.015 MB / 1.222 GB, free: 46.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007346/1.793, allocations: 69.02 kB / 1.222 GB, free: 46.51 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.795, allocations: 2.226 MB / 1.224 GB, free: 45.92 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009351/1.796, allocations: 0.5092 MB / 1.225 GB, free: 45.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009789/1.797, allocations: 0.4988 MB / 1.225 GB, free: 45.56 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/1.797, allocations: 301.1 kB / 1.226 GB, free: 45.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/1.8, allocations: 0.9731 MB / 1.227 GB, free: 45.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/1.803, allocations: 1.816 MB / 1.228 GB, free: 44.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/1.807, allocations: 2.604 MB / 1.231 GB, free: 43.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/1.808, allocations: 6 kB / 1.231 GB, free: 43.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.01476/1.822, allocations: 4.251 MB / 1.235 GB, free: 43.01 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/1.822, allocations: 12.34 kB / 1.235 GB, free: 43.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.292e-05/1.822, allocations: 29.2 kB / 1.235 GB, free: 43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007059/1.83, allocations: 1.242 MB / 1.236 GB, free: 42.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/1.832, allocations: 0.509 MB / 1.237 GB, free: 42.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.842, allocations: 7.114 MB / 1.244 GB, free: 38.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.847, allocations: 169.6 kB / 1.244 GB, free: 38.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007508/1.848, allocations: 130.9 kB / 1.244 GB, free: 38.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004613/1.853, allocations: 1.578 MB / 1.246 GB, free: 38.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002498/1.855, allocations: 1.758 MB / 1.247 GB, free: 37.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00409/1.86, allocations: 2.49 MB / 1.25 GB, free: 36.39 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.371e-05/1.86, allocations: 4.75 kB / 1.25 GB, free: 36.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=283) (initialization_lambda0): time 0.01367/1.873, allocations: 4.099 MB / 1.254 GB, free: 35.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.873, allocations: 17.16 kB / 1.254 GB, free: 35.26 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/1.873, allocations: 24.66 kB / 1.254 GB, free: 35.26 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006927/1.88, allocations: 1.198 MB / 1.255 GB, free: 34.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/1.883, allocations: 0.4892 MB / 1.255 GB, free: 34.72 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.894, allocations: 8.62 MB / 1.264 GB, free: 29.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/1.9, allocations: 191.5 kB / 1.264 GB, free: 29.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008511/1.9, allocations: 124.8 kB / 1.264 GB, free: 29.28 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 3 (onOffController.y,$PRE.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 (242): * Single equations (assignments): 231 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (7,13,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0009002/1.901, allocations: 326.1 kB / 1.264 GB, free: 29.08 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/1.903, allocations: 442.3 kB / 1.265 GB, free: 28.85 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009037/1.912, allocations: 3.177 MB / 1.268 GB, free: 28 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.912, allocations: 14.52 kB / 1.268 GB, free: 28 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.912, allocations: 11.09 kB / 1.268 GB, free: 27.99 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006529/1.919, allocations: 2.435 MB / 1.27 GB, free: 26.33 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.935, allocations: 5.998 MB / 1.276 GB, free: 22.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.935, allocations: 0 / 1.276 GB, free: 22.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.937, allocations: 326.5 kB / 1.277 GB, free: 21.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/1.94, allocations: 0.646 MB / 1.277 GB, free: 21.35 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003468/1.941, allocations: 56.02 kB / 1.277 GB, free: 21.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006188/1.947, allocations: 5.477 MB / 1.283 GB, free: 16.52 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.947, allocations: 0 / 1.283 GB, free: 16.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.958, allocations: 4.034 MB / 1.286 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/1.961, allocations: 0.6826 MB / 1.287 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/1.963, allocations: 39.98 kB / 1.287 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004235/1.967, allocations: 151.8 kB / 1.287 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/1.968, allocations: 117.8 kB / 1.287 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.968, allocations: 67.95 kB / 1.288 GB, free: 12.35 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005521/1.973, allocations: 2.658 MB / 1.29 GB, free: 9.711 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.31e-07/1.973, allocations: 0 / 1.29 GB, free: 9.711 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01146/1.985, allocations: 1.933 MB / 1.292 GB, free: 7.777 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (149): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (7,13,85.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002584/1.988, allocations: 0.8351 MB / 1.293 GB, free: 7.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01317/2.001, allocations: 5.22 MB / 1.298 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.001, allocations: 5.406 kB / 1.298 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/2.004, allocations: 1.48 MB / 1.299 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/2.017, allocations: 2.249 MB / 1.302 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/2.034, allocations: 7.669 MB / 1.309 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002754/2.036, allocations: 2.481 MB / 1.311 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/2.038, allocations: 354.5 kB / 1.312 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/2.038, allocations: 0 / 1.312 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of Templates: time 0.1661/2.204, allocations: 134 MB / 1.443 GB, free: 14.64 MB / 1.076 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)