Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 198.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 70.83 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3771, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.999/1.376, allocations: 281.5 MB / 1.343 GB, free: 44.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.08288/1.459, allocations: 52.63 MB / 1.394 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/1.477, allocations: 319.8 kB / 1.395 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01785/1.495, allocations: 8.498 MB / 1.403 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02479/1.52, allocations: 6.918 MB / 1.41 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01642/1.537, allocations: 4.945 MB / 1.415 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03428/1.571, allocations: 18.06 MB / 1.432 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009828/1.581, allocations: 4.822 MB / 1.437 GB, free: 5.965 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01694/1.598, allocations: 5.508 MB / 1.442 GB, free: 460 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00938/1.607, allocations: 3.971 MB / 1.446 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002818/1.61, allocations: 472 kB / 1.447 GB, free: 12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/1.622, allocations: 3.101 MB / 1.45 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003569/1.625, allocations: 1.615 MB / 1.451 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008074/1.633, allocations: 3.187 MB / 1.454 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01875/1.652, allocations: 8.781 MB / 1.463 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/1.652, allocations: 4 kB / 1.463 GB, free: 11.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.096e-06/1.652, allocations: 0 / 1.463 GB, free: 11.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003372/1.652, allocations: 4 kB / 1.463 GB, free: 11.25 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.02033/1.673, allocations: 6.8 MB / 1.47 GB, free: 4.344 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/1.673, allocations: 15.98 kB / 1.47 GB, free: 4.328 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007232/1.68, allocations: 1.191 MB / 1.471 GB, free: 3.129 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/1.698, allocations: 5.95 MB / 1.477 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009753/1.699, allocations: 337.8 kB / 1.477 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/1.7, allocations: 295.9 kB / 1.477 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/1.71, allocations: 3.217 MB / 1.48 GB, free: 9.141 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.71, allocations: 3.938 kB / 1.48 GB, free: 9.137 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006952/1.711, allocations: 112 kB / 1.48 GB, free: 9.027 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/1.711, allocations: 105.1 kB / 1.481 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00799/1.719, allocations: 2.702 MB / 1.483 GB, free: 6.207 MB / 1.076 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.03688/1.756, allocations: 19.03 MB / 1.502 GB, free: 1.512 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/1.761, allocations: 1.737 MB / 1.503 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/1.763, allocations: 1.047 MB / 1.505 GB, free: 14.71 MB / 1.107 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.01087/1.774, allocations: 4.047 MB / 1.508 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.774, allocations: 51.88 kB / 1.509 GB, free: 10.42 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00342/1.778, allocations: 397.8 kB / 1.509 GB, free: 10.03 MB / 1.107 GB Notification: Performance of pre-optimization done (n=140): time 1.229e-05/1.778, allocations: 0 / 1.509 GB, free: 10.03 MB / 1.107 GB Notification: Performance of matching and sorting (n=145): time 0.03621/1.814, allocations: 8.749 MB / 1.517 GB, free: 1.16 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.814, allocations: 68.72 kB / 1.518 GB, free: 1.078 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/1.828, allocations: 5.106 MB / 1.522 GB, free: 11.97 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0007529/1.829, allocations: 69.69 kB / 1.523 GB, free: 11.89 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.003519/1.832, allocations: 2.485 MB / 1.525 GB, free: 9.391 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.833, allocations: 0.5201 MB / 1.525 GB, free: 8.863 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/1.835, allocations: 0.6893 MB / 1.526 GB, free: 8.164 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.836, allocations: 301.1 kB / 1.526 GB, free: 7.867 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/1.839, allocations: 1.299 MB / 1.528 GB, free: 6.559 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/1.843, allocations: 2.212 MB / 1.53 GB, free: 3.969 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/1.849, allocations: 3.216 MB / 1.533 GB, free: 476 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/1.849, allocations: 8 kB / 1.533 GB, free: 468 kB / 1.123 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01643/1.865, allocations: 5.128 MB / 1.538 GB, free: 11.3 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/1.865, allocations: 16.19 kB / 1.538 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-05/1.866, allocations: 20 kB / 1.538 GB, free: 11.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007201/1.873, allocations: 1.243 MB / 1.539 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/1.876, allocations: 0.6201 MB / 1.54 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.888, allocations: 7.111 MB / 1.547 GB, free: 1.973 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00582/1.894, allocations: 232.6 kB / 1.547 GB, free: 1.746 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009193/1.895, allocations: 147.8 kB / 1.547 GB, free: 1.602 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006252/1.901, allocations: 2.142 MB / 1.549 GB, free: 15.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004127/1.905, allocations: 2.172 MB / 1.551 GB, free: 12.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006245/1.912, allocations: 3.169 MB / 1.555 GB, free: 9.453 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.87e-05/1.912, allocations: 4 kB / 1.555 GB, free: 9.449 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.0164/1.928, allocations: 5.03 MB / 1.559 GB, free: 4.395 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/1.928, allocations: 12 kB / 1.559 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/1.928, allocations: 32.03 kB / 1.559 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006757/1.935, allocations: 1.19 MB / 1.561 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.938, allocations: 0.6084 MB / 1.561 GB, free: 2.543 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/1.952, allocations: 8.605 MB / 1.57 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005826/1.958, allocations: 261.7 kB / 1.57 GB, free: 9.238 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008413/1.959, allocations: 135.9 kB / 1.57 GB, free: 9.105 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (303): * Single equations (assignments): 296 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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%), (7,13,79.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001395/1.96, allocations: 348.4 kB / 1.57 GB, free: 8.758 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00207/1.963, allocations: 0.5053 MB / 1.571 GB, free: 8.246 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.973, allocations: 3.251 MB / 1.574 GB, free: 4.973 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.973, allocations: 23.94 kB / 1.574 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/1.974, allocations: 7.938 kB / 1.574 GB, free: 4.941 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007622/1.981, allocations: 2.47 MB / 1.576 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/2.001, allocations: 6.478 MB / 1.583 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/2.001, allocations: 4 kB / 1.583 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/2.003, allocations: 339.6 kB / 1.583 GB, free: 11.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/2.006, allocations: 0.6519 MB / 1.584 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/2.007, allocations: 55.89 kB / 1.584 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007654/2.014, allocations: 5.487 MB / 1.589 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.014, allocations: 0 / 1.589 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/2.028, allocations: 4.157 MB / 1.593 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004843/2.033, allocations: 0.8026 MB / 1.594 GB, free: 8 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002962/2.036, allocations: 40.08 kB / 1.594 GB, free: 15.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/2.041, allocations: 167.8 kB / 1.594 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/2.041, allocations: 121.8 kB / 1.594 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002952/2.042, allocations: 67.95 kB / 1.594 GB, free: 15.61 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008941/2.051, allocations: 3.381 MB / 1.598 GB, free: 12.24 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.41e-07/2.051, allocations: 0 / 1.598 GB, free: 12.24 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01169/2.062, allocations: 2.191 MB / 1.6 GB, free: 10.05 MB / 1.201 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.s[1],val.filter.s[2],pumLoa.filter.s[1],pumLoa.filter.s[2],pumBoi.filter.s[1],pumBoi.filter.s[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 (149): * Single equations (assignments): 142 * 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%), (9,11,69.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002786/2.065, allocations: 0.9379 MB / 1.601 GB, free: 9.109 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01621/2.082, allocations: 6.041 MB / 1.607 GB, free: 3.012 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.082, allocations: 4 kB / 1.607 GB, free: 3.008 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004117/2.086, allocations: 1.532 MB / 1.608 GB, free: 1.453 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01656/2.102, allocations: 2.588 MB / 1.611 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/2.128, allocations: 8.706 MB / 1.619 GB, free: 6.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/2.131, allocations: 2.825 MB / 1.622 GB, free: 3.375 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.008142/2.139, allocations: 1.141 MB / 1.623 GB, free: 2.23 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/2.141, allocations: 387.2 kB / 1.623 GB, free: 1.852 MB / 1.217 GB Notification: Performance of SimCode: time 4.248e-06/2.141, allocations: 0 / 1.623 GB, free: 1.852 MB / 1.217 GB Notification: Performance of Templates: time 0.1974/2.339, allocations: 103.2 MB / 1.724 GB, free: 11.77 MB / 1.326 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)