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.774/1.774, allocations: 288.4 MB / 303.7 MB, free: 8.219 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.001332/0.001332, allocations: 187.1 kB / 372.3 MB, free: 10.11 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.668/1.668, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007145/0.0007142, allocations: 94.86 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 11.84 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.7739/1.019, allocations: 259.7 MB / 1.234 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.08311/1.102, allocations: 50.26 MB / 1.283 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01421/1.116, allocations: 262.2 kB / 1.283 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009833/1.126, allocations: 2.066 MB / 1.285 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02189/1.148, allocations: 5.718 MB / 1.291 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01809/1.166, allocations: 5.074 MB / 1.296 GB, free: 13.84 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02371/1.19, allocations: 14.33 MB / 1.31 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00871/1.199, allocations: 3.885 MB / 1.313 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/1.212, allocations: 4.721 MB / 1.318 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008839/1.221, allocations: 3.578 MB / 1.322 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/1.223, allocations: 200 kB / 1.322 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/1.234, allocations: 2.585 MB / 1.324 GB, free: 376 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002104/1.236, allocations: 1.042 MB / 1.325 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.005163/1.241, allocations: 2.434 MB / 1.328 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.009237/1.251, allocations: 5.969 MB / 1.333 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.251, allocations: 0 / 1.333 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.764e-06/1.251, allocations: 0 / 1.333 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001404/1.251, allocations: 0 / 1.333 GB, free: 6.887 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.01096/1.262, allocations: 5.114 MB / 1.338 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.262, allocations: 12.03 kB / 1.338 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/1.266, allocations: 0.9964 MB / 1.339 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008393/1.274, allocations: 4.002 MB / 1.343 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007486/1.275, allocations: 362.2 kB / 1.344 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004824/1.275, allocations: 291.9 kB / 1.344 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006519/1.282, allocations: 3.268 MB / 1.347 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.987e-05/1.282, allocations: 8 kB / 1.347 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/1.282, allocations: 115.9 kB / 1.347 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/1.282, allocations: 72 kB / 1.347 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006257/1.288, allocations: 2.698 MB / 1.35 GB, free: 5.633 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.03017/1.319, allocations: 18.18 MB / 1.368 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/1.323, allocations: 1.95 MB / 1.37 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/1.326, allocations: 1.075 MB / 1.371 GB, free: 14.77 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.009192/1.335, allocations: 3.881 MB / 1.374 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/1.335, allocations: 51.88 kB / 1.375 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00434/1.339, allocations: 0.8452 MB / 1.375 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=142): time 1.089e-05/1.339, allocations: 0 / 1.375 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147): time 0.03287/1.372, allocations: 7.659 MB / 1.383 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002752/1.372, allocations: 304 kB / 1.383 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01301/1.385, allocations: 4.003 MB / 1.387 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001287/1.387, allocations: 65.7 kB / 1.387 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004883/1.392, allocations: 2.217 MB / 1.389 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/1.393, allocations: 0.5122 MB / 1.39 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/1.393, allocations: 47.94 kB / 1.39 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003601/1.394, allocations: 390.4 kB / 1.39 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/1.398, allocations: 0.9686 MB / 1.391 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/1.403, allocations: 1.846 MB / 1.393 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009436/1.413, allocations: 2.611 MB / 1.395 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.052e-05/1.413, allocations: 12 kB / 1.395 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01942/1.432, allocations: 3.739 MB / 1.399 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008275/1.433, allocations: 0.6513 MB / 1.4 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-05/1.433, allocations: 27.98 kB / 1.4 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005753/1.439, allocations: 0.6268 MB / 1.4 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004939/1.444, allocations: 0.5421 MB / 1.401 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.457, allocations: 5.293 MB / 1.406 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007992/1.465, allocations: 352.6 kB / 1.406 GB, free: 8.492 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007709/1.466, allocations: 131.8 kB / 1.407 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.466, allocations: 9.344 kB / 1.407 GB, free: 8.355 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0151/1.481, allocations: 3.149 MB / 1.41 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.481, allocations: 20 kB / 1.41 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/1.487, allocations: 0.5922 MB / 1.41 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/1.491, allocations: 0.507 MB / 1.411 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.506, allocations: 6.695 MB / 1.417 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007132/1.514, allocations: 334.4 kB / 1.418 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007753/1.514, allocations: 115.9 kB / 1.418 GB, free: 12.49 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.003843/1.518, allocations: 0.8792 MB / 1.419 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.52, allocations: 450.3 kB / 1.419 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.532, allocations: 3.006 MB / 1.422 GB, free: 8.129 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/1.532, allocations: 24 kB / 1.422 GB, free: 8.105 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.532, allocations: 8 kB / 1.422 GB, free: 8.098 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009077/1.541, allocations: 2.286 MB / 1.424 GB, free: 5.77 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.6732/2.215, allocations: 5.927 MB / 1.43 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/2.215, allocations: 5.109 kB / 1.43 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/2.218, allocations: 367.2 kB / 1.43 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/2.219, allocations: 353.2 kB / 1.431 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003598/2.22, allocations: 49.16 kB / 1.431 GB, free: 339 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/2.224, allocations: 4.29 MB / 1.435 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/2.225, allocations: 3.438 kB / 1.435 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/2.235, allocations: 3.921 MB / 1.439 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/2.238, allocations: 0.7458 MB / 1.439 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/2.239, allocations: 36.22 kB / 1.44 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/2.243, allocations: 307.7 kB / 1.44 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/2.243, allocations: 116 kB / 1.44 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/2.243, allocations: 67.31 kB / 1.44 GB, free: 335 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006355/2.25, allocations: 2.653 MB / 1.443 GB, free: 334 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/2.25, allocations: 0 / 1.443 GB, free: 334 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01024/2.26, allocations: 1.988 MB / 1.445 GB, free: 333.9 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.001863/2.262, allocations: 0.8131 MB / 1.445 GB, free: 333.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01114/2.273, allocations: 4.889 MB / 1.45 GB, free: 331.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.273, allocations: 1.344 kB / 1.45 GB, free: 331.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/2.276, allocations: 1.416 MB / 1.451 GB, free: 331 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01554/2.292, allocations: 2.263 MB / 1.454 GB, free: 330.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.309, allocations: 8.883 MB / 1.462 GB, free: 326 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/2.312, allocations: 2.457 MB / 1.465 GB, free: 325.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006874/2.319, allocations: 0.9298 MB / 1.466 GB, free: 324.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/2.321, allocations: 348.7 kB / 1.466 GB, free: 324.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/2.321, allocations: 1.312 kB / 1.466 GB, free: 324.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1585/2.479, allocations: 85.43 MB / 1.549 GB, free: 257.4 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)