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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.368/2.368, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.001803/0.001802, allocations: 188.5 kB / 325.8 MB, free: 2.789 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.576/2.576, allocations: 205.4 MB / 0.5767 GB, free: 21.09 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.0009994/0.0009993, allocations: 93.17 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005754/0.0005755, allocations: 15.28 kB / 0.7953 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2294, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 1.12/1.35, allocations: 259.7 MB / 1.153 GB, free: 38.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.09418/1.444, allocations: 50.2 MB / 1.202 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01321/1.457, allocations: 262.2 kB / 1.202 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/1.469, allocations: 1.992 MB / 1.204 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0308/1.5, allocations: 5.397 MB / 1.209 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02289/1.522, allocations: 5.018 MB / 1.214 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02768/1.55, allocations: 14.3 MB / 1.228 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/1.561, allocations: 3.725 MB / 1.232 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.016/1.577, allocations: 4.483 MB / 1.236 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/1.587, allocations: 3.586 MB / 1.239 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002407/1.59, allocations: 200 kB / 1.24 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/1.6, allocations: 2.187 MB / 1.242 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003173/1.604, allocations: 1.046 MB / 1.243 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003848/1.608, allocations: 1.034 MB / 1.244 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/1.622, allocations: 5.856 MB / 1.25 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.622, allocations: 0 / 1.25 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.016e-06/1.622, allocations: 0 / 1.25 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002996/1.622, allocations: 0 / 1.25 GB, free: 11.18 MB / 0.7605 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.01839/1.64, allocations: 5.146 MB / 1.255 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.64, allocations: 8.031 kB / 1.255 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007897/1.648, allocations: 1 MB / 1.256 GB, free: 4.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/1.662, allocations: 3.827 MB / 1.259 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001556/1.664, allocations: 358.2 kB / 1.26 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.665, allocations: 292 kB / 1.26 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.678, allocations: 3.263 MB / 1.263 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/1.678, allocations: 7.938 kB / 1.263 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004934/1.679, allocations: 108 kB / 1.263 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.679, allocations: 72 kB / 1.263 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.691, allocations: 2.698 MB / 1.266 GB, free: 10.09 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 removeSimpleEquations (simulation): time 0.04341/1.735, allocations: 18.17 MB / 1.284 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00846/1.743, allocations: 1.945 MB / 1.286 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/1.748, allocations: 1.082 MB / 1.287 GB, free: 3.246 MB / 0.7917 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.01389/1.762, allocations: 3.851 MB / 1.29 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/1.762, allocations: 55.88 kB / 1.29 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006137/1.768, allocations: 0.8412 MB / 1.291 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=142): time 1.114e-05/1.769, allocations: 3.938 kB / 1.291 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=147): time 0.06143/1.83, allocations: 7.636 MB / 1.299 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002929/1.83, allocations: 308 kB / 1.299 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/1.845, allocations: 4.003 MB / 1.303 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006209/1.845, allocations: 65.7 kB / 1.303 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003747/1.849, allocations: 2.21 MB / 1.305 GB, free: 15.89 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.85, allocations: 0.5122 MB / 1.306 GB, free: 15.37 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.851, allocations: 40 kB / 1.306 GB, free: 15.33 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000294/1.851, allocations: 390.3 kB / 1.306 GB, free: 14.94 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/1.855, allocations: 0.9647 MB / 1.307 GB, free: 13.97 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/1.861, allocations: 1.838 MB / 1.309 GB, free: 11.73 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005209/1.867, allocations: 1.177 MB / 1.31 GB, free: 10.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/1.867, allocations: 8 kB / 1.31 GB, free: 10.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02012/1.887, allocations: 3.715 MB / 1.314 GB, free: 6.812 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006477/1.888, allocations: 0.6635 MB / 1.314 GB, free: 5.883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.606e-05/1.888, allocations: 20 kB / 1.314 GB, free: 5.863 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006358/1.894, allocations: 0.634 MB / 1.315 GB, free: 5.223 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007009/1.901, allocations: 0.5383 MB / 1.315 GB, free: 4.684 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/1.922, allocations: 5.298 MB / 1.321 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/1.934, allocations: 352.6 kB / 1.321 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001571/1.936, allocations: 127.9 kB / 1.321 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.936, allocations: 8 kB / 1.321 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02733/1.963, allocations: 3.125 MB / 1.324 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/1.963, allocations: 23.94 kB / 1.324 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006949/1.97, allocations: 0.5888 MB / 1.325 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/1.975, allocations: 0.5148 MB / 1.325 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.99, allocations: 6.648 MB / 1.332 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/1.997, allocations: 332.7 kB / 1.332 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006384/1.997, allocations: 119.9 kB / 1.332 GB, free: 2.812 MB / 0.8386 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 (247): * Single equations (assignments): 236 * Array equations: 5 * Algorithm blocks: 0 * 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.003156/2.001, allocations: 0.8794 MB / 1.333 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/2.002, allocations: 458.2 kB / 1.333 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/2.021, allocations: 3.009 MB / 1.336 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/2.021, allocations: 23.92 kB / 1.336 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/2.021, allocations: 4 kB / 1.336 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0143/2.035, allocations: 2.29 MB / 1.339 GB, free: 12.08 MB / 0.8542 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.02893/2.064, allocations: 5.911 MB / 1.344 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/2.065, allocations: 0 / 1.344 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004931/2.069, allocations: 359.6 kB / 1.345 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/2.073, allocations: 366.1 kB / 1.345 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004021/2.073, allocations: 51.95 kB / 1.345 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009336/2.082, allocations: 4.291 MB / 1.349 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.083, allocations: 4.062 kB / 1.349 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/2.1, allocations: 3.903 MB / 1.353 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003435/2.103, allocations: 0.7371 MB / 1.354 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001582/2.105, allocations: 39.94 kB / 1.354 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006273/2.111, allocations: 307.4 kB / 1.354 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005711/2.112, allocations: 121.8 kB / 1.354 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/2.112, allocations: 71.94 kB / 1.354 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00781/2.12, allocations: 2.643 MB / 1.357 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.61e-07/2.12, allocations: 0 / 1.357 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01151/2.131, allocations: 1.968 MB / 1.359 GB, free: 6.93 MB / 0.8698 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 (157): * Single equations (assignments): 150 * 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.002694/2.134, allocations: 0.7673 MB / 1.36 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01843/2.153, allocations: 4.845 MB / 1.364 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/2.153, allocations: 1.875 kB / 1.364 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00552/2.158, allocations: 1.41 MB / 1.366 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02087/2.179, allocations: 2.299 MB / 1.368 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/2.203, allocations: 8.874 MB / 1.377 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003996/2.207, allocations: 2.462 MB / 1.379 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007648/2.215, allocations: 0.9185 MB / 1.38 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/2.217, allocations: 343.2 kB / 1.38 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/2.217, allocations: 4 kB / 1.38 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of Templates: time 0.8522/3.069, allocations: 83.7 MB / 1.462 GB, free: 297.8 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)