Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008328/0.0008329, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009271/0.0009274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005146, allocations: 20.02 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2508, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.6172/0.8681, allocations: 259.7 MB / 1.041 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.07238/0.9405, allocations: 50.26 MB / 1.09 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/0.9533, allocations: 262.2 kB / 1.09 GB, free: 15.49 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.008892/0.9622, allocations: 1.995 MB / 1.092 GB, free: 13.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02038/0.9826, allocations: 5.404 MB / 1.097 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01659/0.9992, allocations: 5.043 MB / 1.102 GB, free: 3.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02272/1.022, allocations: 14.23 MB / 1.116 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007464/1.029, allocations: 3.522 MB / 1.12 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/1.042, allocations: 4.515 MB / 1.124 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007509/1.049, allocations: 3.574 MB / 1.128 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002698/1.052, allocations: 200 kB / 1.128 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/1.063, allocations: 2.215 MB / 1.13 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002781/1.066, allocations: 1.042 MB / 1.131 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/1.069, allocations: 1.034 MB / 1.132 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009567/1.078, allocations: 5.899 MB / 1.138 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.078, allocations: 0 / 1.138 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.925e-06/1.078, allocations: 0 / 1.138 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003281/1.079, allocations: 0 / 1.138 GB, free: 14.68 MB / 0.8419 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.01354/1.092, allocations: 5.167 MB / 1.143 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.092, allocations: 8.031 kB / 1.143 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/1.097, allocations: 0.9886 MB / 1.144 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/1.108, allocations: 3.834 MB / 1.147 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000806/1.109, allocations: 354.2 kB / 1.148 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/1.11, allocations: 299.9 kB / 1.148 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00784/1.118, allocations: 3.267 MB / 1.151 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/1.118, allocations: 4 kB / 1.151 GB, free: 468 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/1.118, allocations: 116 kB / 1.151 GB, free: 352 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/1.118, allocations: 68 kB / 1.151 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006153/1.124, allocations: 2.698 MB / 1.154 GB, free: 13.57 MB / 0.8575 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.02701/1.151, allocations: 18.16 MB / 1.172 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/1.156, allocations: 1.966 MB / 1.174 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/1.158, allocations: 1.071 MB / 1.175 GB, free: 6.727 MB / 0.8731 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.009271/1.167, allocations: 3.884 MB / 1.179 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/1.168, allocations: 55.88 kB / 1.179 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003416/1.171, allocations: 0.8375 MB / 1.179 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=142): time 9.358e-06/1.171, allocations: 0 / 1.179 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=147): time 0.02393/1.195, allocations: 7.651 MB / 1.187 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.195, allocations: 300 kB / 1.187 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007263/1.202, allocations: 4.003 MB / 1.191 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004846/1.203, allocations: 73.69 kB / 1.191 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.205, allocations: 2.21 MB / 1.193 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/1.206, allocations: 0.5083 MB / 1.194 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/1.206, allocations: 48 kB / 1.194 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.207, allocations: 394.3 kB / 1.194 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/1.209, allocations: 0.9686 MB / 1.195 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.212, allocations: 1.846 MB / 1.197 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/1.215, allocations: 1.181 MB / 1.198 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.215, allocations: 8 kB / 1.198 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01001/1.225, allocations: 3.743 MB / 1.202 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005298/1.225, allocations: 0.6634 MB / 1.202 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.02e-05/1.225, allocations: 23.98 kB / 1.203 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/1.228, allocations: 0.6279 MB / 1.203 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/1.23, allocations: 0.5421 MB / 1.204 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006945/1.237, allocations: 5.302 MB / 1.209 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/1.241, allocations: 349.3 kB / 1.209 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/1.242, allocations: 131.9 kB / 1.209 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.242, allocations: 4 kB / 1.209 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008278/1.25, allocations: 3.145 MB / 1.212 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.589e-05/1.25, allocations: 24 kB / 1.212 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/1.253, allocations: 0.5885 MB / 1.213 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.255, allocations: 0.5187 MB / 1.213 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/1.263, allocations: 6.685 MB / 1.22 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/1.267, allocations: 324.7 kB / 1.22 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/1.268, allocations: 123.9 kB / 1.22 GB, free: 6.141 MB / 0.92 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.002177/1.27, allocations: 0.8792 MB / 1.221 GB, free: 5.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.271, allocations: 446.3 kB / 1.222 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007433/1.278, allocations: 3.021 MB / 1.225 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/1.278, allocations: 20 kB / 1.225 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.279, allocations: 4 kB / 1.225 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005047/1.284, allocations: 2.287 MB / 1.227 GB, free: 15.42 MB / 0.9356 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.01322/1.297, allocations: 5.935 MB / 1.233 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.297, allocations: 0 / 1.233 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/1.299, allocations: 371.5 kB / 1.233 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/1.3, allocations: 350.2 kB / 1.233 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.3, allocations: 55.95 kB / 1.233 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/1.305, allocations: 4.287 MB / 1.238 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.305, allocations: 0 / 1.238 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00873/1.313, allocations: 3.915 MB / 1.241 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.315, allocations: 0.7372 MB / 1.242 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.316, allocations: 36 kB / 1.242 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.319, allocations: 317.7 kB / 1.243 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/1.32, allocations: 113.8 kB / 1.243 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.32, allocations: 71.94 kB / 1.243 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004847/1.325, allocations: 2.647 MB / 1.245 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.325, allocations: 0 / 1.245 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.008038/1.333, allocations: 1.984 MB / 1.247 GB, free: 10.21 MB / 0.9512 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.001771/1.335, allocations: 0.8028 MB / 1.248 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.345, allocations: 4.89 MB / 1.253 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.345, allocations: 4 kB / 1.253 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002975/1.348, allocations: 1.407 MB / 1.254 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/1.359, allocations: 2.292 MB / 1.256 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.377, allocations: 8.881 MB / 1.265 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/1.38, allocations: 2.462 MB / 1.267 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.006075/1.386, allocations: 0.9377 MB / 1.268 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.387, allocations: 347.3 kB / 1.269 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/1.387, allocations: 3.938 kB / 1.269 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of Templates: time 0.5371/1.925, allocations: 84.11 MB / 1.351 GB, free: 305.1 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) Environment - environmentSimulation: