Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 179.1 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007901/0.0007902, allocations: 83.69 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 10.41 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.8413/1.094, allocations: 259.6 MB / 1.154 GB, free: 36.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.07686/1.171, allocations: 50.19 MB / 1.203 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01535/1.186, allocations: 270.1 kB / 1.204 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.009774/1.196, allocations: 1.992 MB / 1.206 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.02199/1.218, allocations: 5.397 MB / 1.211 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02067/1.239, allocations: 5.005 MB / 1.216 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02781/1.267, allocations: 14.22 MB / 1.23 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/1.278, allocations: 3.518 MB / 1.233 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01473/1.293, allocations: 4.487 MB / 1.237 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009026/1.302, allocations: 3.578 MB / 1.241 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002545/1.305, allocations: 200 kB / 1.241 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/1.315, allocations: 2.195 MB / 1.243 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003461/1.319, allocations: 1.039 MB / 1.244 GB, free: 340 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003968/1.323, allocations: 1.038 MB / 1.245 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/1.335, allocations: 5.856 MB / 1.251 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.335, allocations: 0 / 1.251 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.647e-06/1.335, allocations: 4 kB / 1.251 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003997/1.336, allocations: 0 / 1.251 GB, free: 9.41 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.01578/1.352, allocations: 5.157 MB / 1.256 GB, free: 4.168 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.352, allocations: 8.031 kB / 1.256 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/1.357, allocations: 0.9924 MB / 1.257 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/1.369, allocations: 3.823 MB / 1.261 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009554/1.37, allocations: 362.1 kB / 1.261 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/1.372, allocations: 292 kB / 1.261 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/1.382, allocations: 3.264 MB / 1.265 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/1.383, allocations: 11.84 kB / 1.265 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008169/1.383, allocations: 115.8 kB / 1.265 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/1.384, allocations: 68 kB / 1.265 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/1.392, allocations: 2.69 MB / 1.267 GB, free: 8.32 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.03491/1.427, allocations: 18.16 MB / 1.285 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005175/1.432, allocations: 1.952 MB / 1.287 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/1.435, allocations: 1.075 MB / 1.288 GB, free: 1.5 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.01056/1.445, allocations: 3.855 MB / 1.292 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.446, allocations: 51.88 kB / 1.292 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004197/1.45, allocations: 0.8414 MB / 1.293 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=142): time 1.455e-05/1.45, allocations: 0 / 1.293 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=147): time 0.03086/1.481, allocations: 7.632 MB / 1.3 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/1.481, allocations: 308 kB / 1.3 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00934/1.49, allocations: 4.003 MB / 1.304 GB, free: 460 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006396/1.491, allocations: 69.7 kB / 1.304 GB, free: 384 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002918/1.494, allocations: 2.217 MB / 1.307 GB, free: 14.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.495, allocations: 0.5083 MB / 1.307 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/1.495, allocations: 48 kB / 1.307 GB, free: 13.58 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000287/1.496, allocations: 390.3 kB / 1.308 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/1.499, allocations: 0.9608 MB / 1.308 GB, free: 12.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/1.503, allocations: 1.838 MB / 1.31 GB, free: 9.992 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/1.506, allocations: 1.173 MB / 1.311 GB, free: 8.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-05/1.507, allocations: 4 kB / 1.311 GB, free: 8.816 MB / 0.823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01282/1.519, allocations: 3.727 MB / 1.315 GB, free: 5.066 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005926/1.52, allocations: 0.6555 MB / 1.316 GB, free: 4.145 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.232e-05/1.52, allocations: 24 kB / 1.316 GB, free: 4.121 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003413/1.524, allocations: 0.6346 MB / 1.316 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/1.526, allocations: 0.5459 MB / 1.317 GB, free: 2.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007978/1.534, allocations: 5.285 MB / 1.322 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/1.54, allocations: 361.4 kB / 1.322 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000719/1.541, allocations: 131.9 kB / 1.323 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.541, allocations: 4 kB / 1.323 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/1.551, allocations: 3.133 MB / 1.326 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.912e-05/1.551, allocations: 20 kB / 1.326 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003077/1.554, allocations: 0.5881 MB / 1.326 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/1.557, allocations: 0.5148 MB / 1.327 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/1.567, allocations: 6.635 MB / 1.333 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005245/1.572, allocations: 332.8 kB / 1.333 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006366/1.572, allocations: 119.9 kB / 1.334 GB, free: 1.07 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.003031/1.576, allocations: 0.8713 MB / 1.334 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.577, allocations: 450.6 kB / 1.335 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009453/1.587, allocations: 3.021 MB / 1.338 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/1.587, allocations: 20 kB / 1.338 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.587, allocations: 4 kB / 1.338 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006019/1.593, allocations: 2.291 MB / 1.34 GB, free: 10.35 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.01631/1.609, allocations: 5.908 MB / 1.346 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.609, allocations: 0 / 1.346 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.611, allocations: 363.5 kB / 1.346 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/1.613, allocations: 366.1 kB / 1.347 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.613, allocations: 51.97 kB / 1.347 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/1.618, allocations: 4.289 MB / 1.351 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.618, allocations: 0 / 1.351 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.629, allocations: 3.919 MB / 1.355 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/1.631, allocations: 0.7332 MB / 1.355 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/1.633, allocations: 39.98 kB / 1.355 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004063/1.637, allocations: 303.4 kB / 1.356 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.637, allocations: 121.8 kB / 1.356 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.638, allocations: 67.95 kB / 1.356 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006493/1.644, allocations: 2.647 MB / 1.358 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.644, allocations: 0 / 1.358 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01099/1.655, allocations: 1.961 MB / 1.36 GB, free: 5.191 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.002263/1.657, allocations: 0.7672 MB / 1.361 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.669, allocations: 4.855 MB / 1.366 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.669, allocations: 3.938 kB / 1.366 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003338/1.673, allocations: 1.411 MB / 1.367 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01475/1.687, allocations: 2.305 MB / 1.369 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.708, allocations: 9.013 MB / 1.378 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00386/1.711, allocations: 2.458 MB / 1.381 GB, free: 208 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.713, allocations: 367.2 kB / 1.381 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of SimCode: time 9.61e-07/1.713, allocations: 0 / 1.381 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of Templates: time 0.5617/2.275, allocations: 133.3 MB / 1.511 GB, free: 240 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)