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.333/1.333, allocations: 251.5 MB / 267.4 MB, free: 11.11 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.001075/0.001075, allocations: 182.7 kB / 326.5 MB, free: 2.727 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.785/1.785, allocations: 205 MB / 0.5766 GB, free: 21 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.000819/0.0008192, allocations: 88.61 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 12.05 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2093, allocations: 105.4 MB / 0.8967 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.7637/0.9731, allocations: 278.6 MB / 1.169 GB, free: 26.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.07699/1.05, allocations: 53.81 MB / 1.221 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0157/1.066, allocations: 274.2 kB / 1.222 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/1.078, allocations: 2.42 MB / 1.224 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02442/1.102, allocations: 6.228 MB / 1.23 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01797/1.12, allocations: 5.866 MB / 1.236 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02371/1.144, allocations: 16.67 MB / 1.252 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008099/1.152, allocations: 3.912 MB / 1.256 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.013/1.165, allocations: 4.814 MB / 1.261 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008115/1.173, allocations: 3.803 MB / 1.264 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00186/1.175, allocations: 204 kB / 1.265 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008558/1.184, allocations: 2.655 MB / 1.267 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002415/1.186, allocations: 1.089 MB / 1.268 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005575/1.192, allocations: 2.529 MB / 1.271 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009802/1.202, allocations: 5.926 MB / 1.276 GB, free: 292 kB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.202, allocations: 0 / 1.276 GB, free: 292 kB / 0.7761 GB Notification: Performance of FrontEnd: time 2.525e-06/1.202, allocations: 0 / 1.276 GB, free: 292 kB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002454/1.202, allocations: 0 / 1.276 GB, free: 292 kB / 0.7761 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.01193/1.214, allocations: 5.099 MB / 1.281 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.214, allocations: 12.03 kB / 1.281 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/1.219, allocations: 0.9924 MB / 1.282 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009271/1.228, allocations: 4.01 MB / 1.286 GB, free: 6 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008224/1.229, allocations: 350.2 kB / 1.287 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007516/1.229, allocations: 303.9 kB / 1.287 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006576/1.236, allocations: 3.275 MB / 1.29 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/1.236, allocations: 11.94 kB / 1.29 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/1.236, allocations: 112 kB / 1.29 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/1.237, allocations: 68 kB / 1.29 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00618/1.243, allocations: 2.714 MB / 1.293 GB, free: 15.02 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.02772/1.27, allocations: 18.16 MB / 1.311 GB, free: 11.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/1.275, allocations: 1.964 MB / 1.313 GB, free: 9.262 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/1.277, allocations: 1.083 MB / 1.314 GB, free: 8.18 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.008522/1.286, allocations: 3.862 MB / 1.317 GB, free: 4.133 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.286, allocations: 47.88 kB / 1.318 GB, free: 4.078 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003359/1.289, allocations: 0.8414 MB / 1.318 GB, free: 3.234 MB / 0.823 GB Notification: Performance of pre-optimization done (n=142): time 9.738e-06/1.289, allocations: 0 / 1.318 GB, free: 3.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=147): time 0.02602/1.315, allocations: 7.667 MB / 1.326 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.315, allocations: 307.9 kB / 1.326 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006536/1.322, allocations: 4.046 MB / 1.33 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005408/1.322, allocations: 65.7 kB / 1.33 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00216/1.325, allocations: 2.202 MB / 1.332 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007243/1.325, allocations: 0.5198 MB / 1.333 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.326, allocations: 206 kB / 1.333 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.326, allocations: 301.1 kB / 1.333 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/1.328, allocations: 0.9998 MB / 1.334 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/1.331, allocations: 1.889 MB / 1.336 GB, free: 452 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005067/1.336, allocations: 2.685 MB / 1.339 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.336, allocations: 4 kB / 1.339 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01037/1.347, allocations: 3.813 MB / 1.342 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005658/1.347, allocations: 0.6592 MB / 1.343 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-05/1.347, allocations: 23.98 kB / 1.343 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/1.351, allocations: 0.6384 MB / 1.344 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/1.353, allocations: 0.5383 MB / 1.344 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/1.36, allocations: 5.319 MB / 1.349 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.365, allocations: 356.6 kB / 1.35 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004678/1.365, allocations: 127.9 kB / 1.35 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.365, allocations: 4 kB / 1.35 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00833/1.374, allocations: 3.145 MB / 1.353 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.155e-05/1.374, allocations: 20 kB / 1.353 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/1.377, allocations: 0.5842 MB / 1.354 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.379, allocations: 0.511 MB / 1.354 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00886/1.388, allocations: 6.703 MB / 1.361 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/1.393, allocations: 332.7 kB / 1.361 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/1.393, allocations: 123.9 kB / 1.361 GB, free: 5.535 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.002348/1.395, allocations: 0.8675 MB / 1.362 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.397, allocations: 454.2 kB / 1.362 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007174/1.404, allocations: 3.025 MB / 1.365 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/1.404, allocations: 24 kB / 1.365 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.404, allocations: 4 kB / 1.365 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005172/1.409, allocations: 2.306 MB / 1.368 GB, free: 14.79 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.0141/1.423, allocations: 5.919 MB / 1.373 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/1.423, allocations: 0 / 1.373 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.425, allocations: 363.6 kB / 1.374 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/1.426, allocations: 366.1 kB / 1.374 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.426, allocations: 51.97 kB / 1.374 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004492/1.431, allocations: 4.288 MB / 1.378 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.431, allocations: 0 / 1.378 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008927/1.44, allocations: 3.931 MB / 1.382 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.442, allocations: 0.6905 MB / 1.383 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007822/1.443, allocations: 39.92 kB / 1.383 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/1.446, allocations: 315.5 kB / 1.383 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/1.446, allocations: 125.7 kB / 1.383 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.446, allocations: 67.94 kB / 1.383 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004443/1.451, allocations: 2.69 MB / 1.386 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/1.451, allocations: 0 / 1.386 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007985/1.459, allocations: 1.968 MB / 1.388 GB, free: 9.594 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.001789/1.46, allocations: 0.7819 MB / 1.389 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.471, allocations: 4.913 MB / 1.393 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.471, allocations: 0 / 1.393 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002919/1.474, allocations: 1.415 MB / 1.395 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01213/1.486, allocations: 2.304 MB / 1.397 GB, free: 76 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4289/1.915, allocations: 9.277 MB / 1.406 GB, free: 335.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003691/1.919, allocations: 2.458 MB / 1.409 GB, free: 334.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.921, allocations: 359 kB / 1.409 GB, free: 334.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.272e-06/1.921, allocations: 2.391 kB / 1.409 GB, free: 334.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.1596/2.08, allocations: 133.3 MB / 1.539 GB, free: 225.8 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)