Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.001059/0.001059, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.535/1.535, allocations: 205.4 MB / 0.6316 GB, free: 9.828 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.0007728/0.0007729, allocations: 99.31 kB / 0.745 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003987, allocations: 12.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.7601/0.9651, allocations: 259.7 MB / 1.234 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.08685/1.052, allocations: 50.28 MB / 1.283 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01369/1.066, allocations: 262.2 kB / 1.284 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/1.077, allocations: 2.062 MB / 1.286 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02401/1.101, allocations: 5.707 MB / 1.291 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01661/1.118, allocations: 5.075 MB / 1.296 GB, free: 13.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02287/1.141, allocations: 14.34 MB / 1.31 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008887/1.15, allocations: 3.877 MB / 1.314 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01679/1.166, allocations: 4.713 MB / 1.319 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/1.177, allocations: 3.578 MB / 1.322 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001978/1.179, allocations: 200 kB / 1.322 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/1.19, allocations: 2.596 MB / 1.325 GB, free: 328 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002787/1.193, allocations: 1.039 MB / 1.326 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006208/1.199, allocations: 2.446 MB / 1.328 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/1.211, allocations: 5.957 MB / 1.334 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.211, allocations: 4 kB / 1.334 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.195e-06/1.211, allocations: 0 / 1.334 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002494/1.211, allocations: 0 / 1.334 GB, free: 6.836 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.01526/1.227, allocations: 5.114 MB / 1.339 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.227, allocations: 8.031 kB / 1.339 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/1.233, allocations: 0.9886 MB / 1.34 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/1.245, allocations: 4.014 MB / 1.344 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001116/1.247, allocations: 358.1 kB / 1.344 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/1.248, allocations: 299.9 kB / 1.345 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009808/1.257, allocations: 3.271 MB / 1.348 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.286e-05/1.258, allocations: 4 kB / 1.348 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/1.258, allocations: 108 kB / 1.348 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/1.258, allocations: 75.94 kB / 1.348 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009481/1.268, allocations: 2.694 MB / 1.351 GB, free: 5.586 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.0318/1.299, allocations: 18.17 MB / 1.368 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/1.304, allocations: 1.958 MB / 1.37 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/1.306, allocations: 1.079 MB / 1.371 GB, free: 14.73 MB / 0.9011 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.008693/1.315, allocations: 3.869 MB / 1.375 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/1.315, allocations: 55.88 kB / 1.375 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003668/1.319, allocations: 0.8491 MB / 1.376 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.02e-05/1.319, allocations: 0 / 1.376 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.02554/1.344, allocations: 7.655 MB / 1.383 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/1.344, allocations: 304 kB / 1.384 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007763/1.352, allocations: 4.006 MB / 1.388 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007928/1.353, allocations: 65.7 kB / 1.388 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002783/1.356, allocations: 2.214 MB / 1.39 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.357, allocations: 0.5083 MB / 1.39 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/1.357, allocations: 48 kB / 1.39 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002436/1.357, allocations: 390.4 kB / 1.391 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.36, allocations: 0.9725 MB / 1.392 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/1.363, allocations: 1.85 MB / 1.394 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/1.368, allocations: 2.603 MB / 1.396 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.368, allocations: 11.98 kB / 1.396 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.0106/1.379, allocations: 3.739 MB / 1.4 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005918/1.379, allocations: 0.6608 MB / 1.4 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.379, allocations: 24 kB / 1.4 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/1.382, allocations: 0.6229 MB / 1.401 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/1.385, allocations: 0.546 MB / 1.402 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007449/1.392, allocations: 5.293 MB / 1.407 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/1.397, allocations: 360.5 kB / 1.407 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006536/1.398, allocations: 131.9 kB / 1.407 GB, free: 8.316 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.398, allocations: 7.938 kB / 1.407 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008457/1.407, allocations: 3.133 MB / 1.41 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.096e-05/1.407, allocations: 23.98 kB / 1.41 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/1.41, allocations: 0.6004 MB / 1.411 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/1.412, allocations: 0.511 MB / 1.411 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008979/1.421, allocations: 6.691 MB / 1.418 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.425, allocations: 333.8 kB / 1.418 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/1.426, allocations: 123.9 kB / 1.418 GB, free: 12.44 MB / 0.948 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.002378/1.428, allocations: 0.8714 MB / 1.419 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.429, allocations: 446.4 kB / 1.42 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007337/1.437, allocations: 3.013 MB / 1.423 GB, free: 8.082 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005138/1.442, allocations: 2.298 MB / 1.425 GB, free: 5.742 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.442, allocations: 0 / 1.425 GB, free: 5.742 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.445, allocations: 0.7448 MB / 1.426 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007211/1.445, allocations: 39.98 kB / 1.426 GB, free: 4.934 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.448, allocations: 287.4 kB / 1.426 GB, free: 4.652 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/1.448, allocations: 133.8 kB / 1.426 GB, free: 4.52 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009873/1.458, allocations: 2.652 MB / 1.429 GB, free: 1.852 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.5782/2.036, allocations: 3.762 MB / 1.432 GB, free: 340.2 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002477/2.039, allocations: 0.9879 MB / 1.433 GB, free: 340.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006348/2.045, allocations: 2.647 MB / 1.436 GB, free: 339.4 MB / 0.948 GB Notification: Performance of Backend: time 9.12e-07/2.045, allocations: 0 / 1.436 GB, free: 339.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01544/2.061, allocations: 5.012 MB / 1.441 GB, free: 337.5 MB / 0.948 GB Notification: Performance of SimCode: time 0.02689/2.088, allocations: 10.83 MB / 1.451 GB, free: 332.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1517/2.24, allocations: 90.71 MB / 1.54 GB, free: 268.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)