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.336/1.336, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009337/0.0009339, allocations: 178.7 kB / 326.5 MB, free: 2.707 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.646/1.646, allocations: 205 MB / 0.5767 GB, free: 21.01 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.0007403/0.0007407, allocations: 86.19 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 9.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1941, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.64/0.8341, allocations: 278.7 MB / 1.169 GB, free: 26.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06904/0.9032, allocations: 53.8 MB / 1.221 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01283/0.9161, allocations: 278.1 kB / 1.222 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.009377/0.9255, allocations: 2.42 MB / 1.224 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02221/0.9478, allocations: 6.247 MB / 1.23 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01688/0.9647, allocations: 5.849 MB / 1.236 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02236/0.9871, allocations: 16.67 MB / 1.252 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008209/0.9953, allocations: 3.916 MB / 1.256 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/1.01, allocations: 4.806 MB / 1.261 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008584/1.018, allocations: 3.811 MB / 1.264 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001668/1.02, allocations: 204 kB / 1.265 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008577/1.029, allocations: 2.655 MB / 1.267 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002259/1.031, allocations: 1.089 MB / 1.268 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005654/1.037, allocations: 2.529 MB / 1.271 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.051, allocations: 7.583 MB / 1.278 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.051, allocations: 0 / 1.278 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.046e-06/1.051, allocations: 0 / 1.278 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002763/1.051, allocations: 0 / 1.278 GB, free: 14.59 MB / 0.7917 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.01198/1.063, allocations: 5.095 MB / 1.283 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.063, allocations: 12.03 kB / 1.283 GB, free: 9.402 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/1.068, allocations: 0.9885 MB / 1.284 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009197/1.077, allocations: 4.006 MB / 1.288 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007629/1.078, allocations: 354.2 kB / 1.288 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005785/1.078, allocations: 299.9 kB / 1.289 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006256/1.085, allocations: 3.287 MB / 1.292 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.812e-05/1.085, allocations: 4 kB / 1.292 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/1.085, allocations: 108 kB / 1.292 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/1.085, allocations: 68 kB / 1.292 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006426/1.091, allocations: 2.718 MB / 1.295 GB, free: 13.34 MB / 0.8073 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.02586/1.117, allocations: 18.16 MB / 1.312 GB, free: 9.566 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/1.122, allocations: 1.964 MB / 1.314 GB, free: 7.578 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/1.124, allocations: 1.083 MB / 1.315 GB, free: 6.496 MB / 0.823 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.007867/1.132, allocations: 3.855 MB / 1.319 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/1.132, allocations: 51.88 kB / 1.319 GB, free: 2.398 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003172/1.135, allocations: 0.8453 MB / 1.32 GB, free: 1.551 MB / 0.823 GB Notification: Performance of pre-optimization done (n=142): time 6.562e-06/1.135, allocations: 0 / 1.32 GB, free: 1.551 MB / 0.823 GB Notification: Performance of matching and sorting (n=147): time 0.02391/1.159, allocations: 7.663 MB / 1.327 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.159, allocations: 308 kB / 1.328 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/1.165, allocations: 4.046 MB / 1.332 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003209/1.165, allocations: 65.7 kB / 1.332 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.167, allocations: 2.21 MB / 1.334 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/1.167, allocations: 0.5159 MB / 1.334 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/1.168, allocations: 198 kB / 1.335 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.168, allocations: 305.1 kB / 1.335 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/1.17, allocations: 1.015 MB / 1.336 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/1.173, allocations: 1.889 MB / 1.338 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/1.178, allocations: 2.685 MB / 1.34 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.178, allocations: 4 kB / 1.34 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01017/1.188, allocations: 3.809 MB / 1.344 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005216/1.188, allocations: 0.6646 MB / 1.345 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/1.188, allocations: 20 kB / 1.345 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.191, allocations: 0.6346 MB / 1.345 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/1.194, allocations: 0.5382 MB / 1.346 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/1.201, allocations: 5.305 MB / 1.351 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/1.206, allocations: 360.6 kB / 1.351 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005176/1.207, allocations: 127.9 kB / 1.352 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.207, allocations: 7.938 kB / 1.352 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008203/1.215, allocations: 3.141 MB / 1.355 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.923e-05/1.215, allocations: 23.98 kB / 1.355 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/1.218, allocations: 0.5885 MB / 1.355 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/1.22, allocations: 0.507 MB / 1.356 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008676/1.228, allocations: 6.697 MB / 1.362 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/1.233, allocations: 336.7 kB / 1.363 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/1.233, allocations: 123.9 kB / 1.363 GB, free: 3.855 MB / 0.8698 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 (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 (247): * Single equations (assignments): 236 * 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%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002265/1.235, allocations: 0.8753 MB / 1.364 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.237, allocations: 454.2 kB / 1.364 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007322/1.244, allocations: 3.025 MB / 1.367 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00521/1.249, allocations: 2.298 MB / 1.369 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.249, allocations: 4 kB / 1.369 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.252, allocations: 0.6943 MB / 1.37 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009718/1.253, allocations: 39.94 kB / 1.37 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/1.255, allocations: 287.4 kB / 1.37 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/1.256, allocations: 129.8 kB / 1.37 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007017/1.263, allocations: 2.668 MB / 1.373 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008037/1.271, allocations: 3.778 MB / 1.377 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002073/1.273, allocations: 0.9955 MB / 1.378 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004933/1.278, allocations: 2.69 MB / 1.38 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of Backend: time 8.91e-07/1.278, allocations: 0 / 1.38 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01387/1.292, allocations: 5.028 MB / 1.385 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of SimCode: time 0.02383/1.316, allocations: 11.14 MB / 1.396 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of Templates: time 0.5641/1.88, allocations: 91.39 MB / 1.485 GB, free: 279.5 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)