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.436/1.436, allocations: 252 MB / 268 MB, free: 10.87 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.001124/0.001125, allocations: 174.9 kB / 327.6 MB, free: 2.113 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.751/1.751, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008577/0.0008578, allocations: 90.3 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004469, allocations: 9.656 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.6941/0.9214, allocations: 275 MB / 1.17 GB, free: 22.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.07447/0.9959, allocations: 53.26 MB / 1.222 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01439/1.01, allocations: 266.1 kB / 1.222 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.009284/1.02, allocations: 2.429 MB / 1.225 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02259/1.042, allocations: 6.231 MB / 1.231 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01668/1.059, allocations: 5.842 MB / 1.236 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02313/1.082, allocations: 16.67 MB / 1.253 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008456/1.091, allocations: 3.916 MB / 1.257 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/1.104, allocations: 4.81 MB / 1.261 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007265/1.111, allocations: 3.803 MB / 1.265 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001685/1.113, allocations: 200 kB / 1.265 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008338/1.121, allocations: 2.655 MB / 1.268 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002663/1.124, allocations: 1.093 MB / 1.269 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.007823/1.132, allocations: 2.554 MB / 1.271 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.143, allocations: 5.922 MB / 1.277 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.143, allocations: 0 / 1.277 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.364e-06/1.143, allocations: 0 / 1.277 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002475/1.143, allocations: 0 / 1.277 GB, free: 13.82 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.01133/1.154, allocations: 5.091 MB / 1.282 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.154, allocations: 11.97 kB / 1.282 GB, free: 8.629 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/1.158, allocations: 1.004 MB / 1.283 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007653/1.166, allocations: 4.01 MB / 1.287 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007431/1.167, allocations: 354.2 kB / 1.287 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/1.167, allocations: 299.9 kB / 1.288 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006486/1.174, allocations: 3.283 MB / 1.291 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.313e-05/1.174, allocations: 7.922 kB / 1.291 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/1.174, allocations: 116 kB / 1.291 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/1.174, allocations: 64 kB / 1.291 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006653/1.181, allocations: 2.718 MB / 1.294 GB, free: 12.55 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.02781/1.209, allocations: 18.15 MB / 1.311 GB, free: 8.781 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/1.213, allocations: 1.96 MB / 1.313 GB, free: 6.797 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/1.215, allocations: 1.083 MB / 1.314 GB, free: 5.715 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.008017/1.223, allocations: 3.859 MB / 1.318 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.224, allocations: 55.81 kB / 1.318 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003252/1.227, allocations: 0.8413 MB / 1.319 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of pre-optimization done (n=142): time 6.331e-06/1.227, allocations: 0 / 1.319 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of matching and sorting (n=147): time 0.02543/1.252, allocations: 7.675 MB / 1.326 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.252, allocations: 300 kB / 1.327 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006102/1.259, allocations: 4.049 MB / 1.331 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004247/1.259, allocations: 69.7 kB / 1.331 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.261, allocations: 2.21 MB / 1.333 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/1.262, allocations: 0.5198 MB / 1.333 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.262, allocations: 44 kB / 1.333 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.262, allocations: 386.3 kB / 1.334 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.264, allocations: 1.015 MB / 1.335 GB, free: 308 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/1.267, allocations: 1.877 MB / 1.337 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/1.272, allocations: 2.689 MB / 1.339 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.272, allocations: 8 kB / 1.339 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01039/1.283, allocations: 3.817 MB / 1.343 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005266/1.283, allocations: 0.6635 MB / 1.344 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/1.283, allocations: 20 kB / 1.344 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.287, allocations: 0.6462 MB / 1.344 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/1.289, allocations: 0.5305 MB / 1.345 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/1.297, allocations: 5.297 MB / 1.35 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.301, allocations: 356.6 kB / 1.35 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/1.302, allocations: 131.8 kB / 1.35 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.302, allocations: 8 kB / 1.35 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008416/1.31, allocations: 3.145 MB / 1.354 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-05/1.31, allocations: 31.98 kB / 1.354 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/1.313, allocations: 0.5729 MB / 1.354 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/1.316, allocations: 0.5148 MB / 1.355 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/1.324, allocations: 6.649 MB / 1.361 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/1.329, allocations: 332.8 kB / 1.361 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/1.329, allocations: 119.9 kB / 1.362 GB, free: 3.188 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 ($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 (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.00218/1.331, allocations: 0.8832 MB / 1.362 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.332, allocations: 450.2 kB / 1.363 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007519/1.34, allocations: 3.025 MB / 1.366 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.34, allocations: 16 kB / 1.366 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.34, allocations: 4 kB / 1.366 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005442/1.345, allocations: 2.298 MB / 1.368 GB, free: 12.45 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 postOpt removeSimpleEquations (simulation): time 0.01287/1.358, allocations: 5.915 MB / 1.374 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.358, allocations: 0 / 1.374 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.36, allocations: 367.5 kB / 1.374 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/1.362, allocations: 362.1 kB / 1.375 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/1.362, allocations: 51.97 kB / 1.375 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/1.366, allocations: 4.307 MB / 1.379 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.367, allocations: 0 / 1.379 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009505/1.376, allocations: 3.927 MB / 1.383 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.378, allocations: 0.7409 MB / 1.383 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008577/1.379, allocations: 43.98 kB / 1.383 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.382, allocations: 303.4 kB / 1.384 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/1.383, allocations: 117.8 kB / 1.384 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.383, allocations: 67.94 kB / 1.384 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004303/1.387, allocations: 2.69 MB / 1.386 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.9e-07/1.387, allocations: 0 / 1.386 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007535/1.395, allocations: 1.957 MB / 1.388 GB, free: 7.223 MB / 0.9011 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 (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 Backend phase and start with SimCode phase: time 0.00191/1.397, allocations: 0.796 MB / 1.389 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.407, allocations: 4.898 MB / 1.394 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.407, allocations: 64 / 1.394 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.3456/1.753, allocations: 1.421 MB / 1.395 GB, free: 337.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0119/1.765, allocations: 2.288 MB / 1.398 GB, free: 337.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.779, allocations: 9.414 MB / 1.407 GB, free: 332.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/1.782, allocations: 2.455 MB / 1.409 GB, free: 332 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.784, allocations: 360 kB / 1.41 GB, free: 331.9 MB / 0.9011 GB Notification: Performance of SimCode: time 1.774e-06/1.784, allocations: 0 / 1.41 GB, free: 331.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.1426/1.927, allocations: 133.3 MB / 1.54 GB, free: 220.9 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)