Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.5 MB / 302.6 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 184.8 kB / 371.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 86.36 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 11.86 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.7122/0.9405, allocations: 259.7 MB / 1.232 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.08722/1.028, allocations: 50.26 MB / 1.281 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01636/1.044, allocations: 262.2 kB / 1.282 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01042/1.055, allocations: 1.991 MB / 1.284 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02369/1.078, allocations: 5.403 MB / 1.289 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01884/1.097, allocations: 5.058 MB / 1.294 GB, free: 15.56 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0252/1.122, allocations: 14.32 MB / 1.308 GB, free: 1.191 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/1.134, allocations: 3.869 MB / 1.312 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01517/1.149, allocations: 4.511 MB / 1.316 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009196/1.158, allocations: 3.582 MB / 1.319 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002982/1.161, allocations: 207.9 kB / 1.32 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009476/1.171, allocations: 2.211 MB / 1.322 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003201/1.174, allocations: 1.046 MB / 1.323 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003613/1.178, allocations: 1.03 MB / 1.324 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.189, allocations: 5.895 MB / 1.33 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.189, allocations: 4 kB / 1.33 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094e-06/1.189, allocations: 0 / 1.33 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003693/1.19, allocations: 0 / 1.33 GB, free: 10.68 MB / 0.8542 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.01344/1.203, allocations: 5.11 MB / 1.335 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.203, allocations: 12.03 kB / 1.335 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/1.208, allocations: 0.9964 MB / 1.336 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.218, allocations: 4.006 MB / 1.339 GB, free: 396 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008416/1.219, allocations: 354.2 kB / 1.34 GB, free: 40 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/1.22, allocations: 296 kB / 1.34 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009014/1.229, allocations: 3.267 MB / 1.343 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/1.229, allocations: 7.922 kB / 1.343 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006018/1.23, allocations: 112 kB / 1.343 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/1.23, allocations: 68 kB / 1.343 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00739/1.238, allocations: 2.698 MB / 1.346 GB, free: 9.441 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 removeSimpleEquations (simulation): time 0.03278/1.27, allocations: 18.18 MB / 1.364 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/1.275, allocations: 1.95 MB / 1.366 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/1.278, allocations: 1.075 MB / 1.367 GB, free: 2.59 MB / 0.8855 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.01164/1.29, allocations: 3.885 MB / 1.371 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/1.29, allocations: 51.88 kB / 1.371 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004019/1.294, allocations: 0.8413 MB / 1.371 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.063e-05/1.294, allocations: 4 kB / 1.371 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.0271/1.321, allocations: 7.651 MB / 1.379 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/1.321, allocations: 312 kB / 1.379 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008808/1.33, allocations: 3.995 MB / 1.383 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005736/1.331, allocations: 69.7 kB / 1.383 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002685/1.333, allocations: 2.218 MB / 1.385 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009148/1.334, allocations: 0.5122 MB / 1.386 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.335, allocations: 40 kB / 1.386 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.335, allocations: 390.4 kB / 1.386 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/1.338, allocations: 0.9725 MB / 1.387 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/1.341, allocations: 1.846 MB / 1.389 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005387/1.346, allocations: 2.619 MB / 1.392 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.346, allocations: 4 kB / 1.392 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01142/1.358, allocations: 3.739 MB / 1.395 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000589/1.358, allocations: 0.659 MB / 1.396 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-05/1.358, allocations: 20 kB / 1.396 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/1.362, allocations: 0.6268 MB / 1.397 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/1.364, allocations: 0.546 MB / 1.397 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008849/1.373, allocations: 5.281 MB / 1.402 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006335/1.379, allocations: 356.7 kB / 1.403 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008307/1.38, allocations: 135.8 kB / 1.403 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.38, allocations: 0 / 1.403 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/1.391, allocations: 3.146 MB / 1.406 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.16e-05/1.391, allocations: 32.11 kB / 1.406 GB, free: 9.008 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/1.394, allocations: 0.5918 MB / 1.406 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.396, allocations: 0.5031 MB / 1.407 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009598/1.406, allocations: 6.706 MB / 1.413 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.41, allocations: 331.6 kB / 1.414 GB, free: 440 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/1.411, allocations: 123.9 kB / 1.414 GB, free: 316 kB / 0.9323 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 (249): * Single equations (assignments): 238 * 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.002928/1.414, allocations: 0.8754 MB / 1.415 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.416, allocations: 450.3 kB / 1.415 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/1.425, allocations: 3.017 MB / 1.418 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/1.425, allocations: 16 kB / 1.418 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.425, allocations: 4 kB / 1.418 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005712/1.43, allocations: 2.287 MB / 1.42 GB, free: 9.594 MB / 0.948 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.016/1.446, allocations: 5.935 MB / 1.426 GB, free: 3.586 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.446, allocations: 0 / 1.426 GB, free: 3.586 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.449, allocations: 363.5 kB / 1.426 GB, free: 3.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/1.45, allocations: 366.2 kB / 1.427 GB, free: 2.863 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/1.45, allocations: 43.97 kB / 1.427 GB, free: 2.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6015/2.052, allocations: 4.289 MB / 1.431 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/2.052, allocations: 4.25 kB / 1.431 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/2.062, allocations: 3.907 MB / 1.435 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/2.065, allocations: 0.7428 MB / 1.436 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000972/2.066, allocations: 39.7 kB / 1.436 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/2.069, allocations: 308.9 kB / 1.436 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/2.07, allocations: 118.4 kB / 1.436 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/2.07, allocations: 71.7 kB / 1.436 GB, free: 149.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005815/2.076, allocations: 2.647 MB / 1.439 GB, free: 149.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/2.076, allocations: 0 / 1.439 GB, free: 149.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009072/2.085, allocations: 1.989 MB / 1.441 GB, free: 149.4 MB / 0.948 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.001877/2.087, allocations: 0.786 MB / 1.441 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01171/2.099, allocations: 4.873 MB / 1.446 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/2.099, allocations: 3.031 kB / 1.446 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/2.101, allocations: 1.423 MB / 1.448 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01273/2.114, allocations: 2.267 MB / 1.45 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/2.131, allocations: 8.876 MB / 1.458 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003349/2.134, allocations: 2.464 MB / 1.461 GB, free: 143.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006664/2.141, allocations: 0.925 MB / 1.462 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/2.143, allocations: 352 kB / 1.462 GB, free: 143 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/2.143, allocations: 0 / 1.462 GB, free: 143 MB / 0.948 GB Notification: Performance of Templates: time 0.1407/2.283, allocations: 84.2 MB / 1.544 GB, free: 97.72 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)