Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.602/4.602, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002345/0.002345, allocations: 360.1 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.902/3.902, allocations: 410.7 MB / 1.112 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00178/0.00178, allocations: 194.2 kB / 1.225 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 16 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.5942, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.2957/0.89, allocations: 259.6 MB / 1.714 GB, free: 24.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.6609/1.551, allocations: 49.62 MB / 1.763 GB, free: 75.05 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/1.561, allocations: 266.5 kB / 1.763 GB, free: 75.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/1.572, allocations: 2.977 MB / 1.766 GB, free: 75.04 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.03271/1.605, allocations: 9.714 MB / 1.775 GB, free: 74.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02702/1.632, allocations: 7.722 MB / 1.783 GB, free: 74.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02057/1.653, allocations: 14.29 MB / 1.797 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007071/1.66, allocations: 3.485 MB / 1.8 GB, free: 74.15 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/1.671, allocations: 4.344 MB / 1.804 GB, free: 73.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007718/1.679, allocations: 3.581 MB / 1.808 GB, free: 72.22 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.00146/1.68, allocations: 200.8 kB / 1.808 GB, free: 72.22 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008292/1.689, allocations: 2.209 MB / 1.81 GB, free: 72.08 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002161/1.691, allocations: 1.04 MB / 1.811 GB, free: 71.88 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002284/1.693, allocations: 1.039 MB / 1.812 GB, free: 71.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.009035/1.702, allocations: 5.891 MB / 1.818 GB, free: 68.63 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.702, allocations: 0 / 1.818 GB, free: 68.63 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.716e-06/1.702, allocations: 0 / 1.818 GB, free: 68.63 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001137/1.702, allocations: 0 / 1.818 GB, free: 68.63 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.01155/1.714, allocations: 5.17 MB / 1.823 GB, free: 65.47 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.714, allocations: 10.28 kB / 1.823 GB, free: 65.47 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/1.719, allocations: 0.9979 MB / 1.824 GB, free: 65.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009892/1.729, allocations: 3.825 MB / 1.828 GB, free: 63.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008912/1.73, allocations: 361.4 kB / 1.828 GB, free: 63.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006706/1.73, allocations: 298.8 kB / 1.829 GB, free: 63.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008059/1.739, allocations: 3.265 MB / 1.832 GB, free: 62.24 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/1.739, allocations: 6.969 kB / 1.832 GB, free: 62.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/1.739, allocations: 112.2 kB / 1.832 GB, free: 62.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/1.739, allocations: 68.25 kB / 1.832 GB, free: 62.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008504/1.748, allocations: 2.701 MB / 1.835 GB, free: 61.79 MB / 0.8542 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.02735/1.775, allocations: 18.18 MB / 1.852 GB, free: 48.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/1.781, allocations: 1.949 MB / 1.854 GB, free: 48.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/1.784, allocations: 1.083 MB / 1.855 GB, free: 48.34 MB / 0.8542 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.009244/1.793, allocations: 3.874 MB / 1.859 GB, free: 46.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/1.793, allocations: 53.61 kB / 1.859 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003825/1.797, allocations: 0.843 MB / 1.86 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=142): time 6.205e-06/1.797, allocations: 0 / 1.86 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=147): time 0.02851/1.826, allocations: 7.644 MB / 1.867 GB, free: 39.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/1.826, allocations: 302.2 kB / 1.868 GB, free: 39.12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006731/1.833, allocations: 4.002 MB / 1.872 GB, free: 36.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000448/1.833, allocations: 68.89 kB / 1.872 GB, free: 36.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.835, allocations: 2.208 MB / 1.874 GB, free: 35.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006019/1.836, allocations: 0.5142 MB / 1.874 GB, free: 34.67 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/1.836, allocations: 44.19 kB / 1.874 GB, free: 34.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.836, allocations: 391.9 kB / 1.875 GB, free: 34.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/1.839, allocations: 0.9693 MB / 1.876 GB, free: 33.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/1.842, allocations: 1.848 MB / 1.877 GB, free: 31.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/1.845, allocations: 1.179 MB / 1.879 GB, free: 31.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.845, allocations: 8 kB / 1.879 GB, free: 31.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.0117/1.857, allocations: 3.752 MB / 1.882 GB, free: 28.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/1.857, allocations: 0.6607 MB / 1.883 GB, free: 27.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/1.857, allocations: 24 kB / 1.883 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/1.861, allocations: 0.6192 MB / 1.884 GB, free: 26.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/1.864, allocations: 0.5412 MB / 1.884 GB, free: 26.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008167/1.872, allocations: 5.294 MB / 1.889 GB, free: 21.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/1.877, allocations: 348.3 kB / 1.89 GB, free: 21.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.878, allocations: 124.7 kB / 1.89 GB, free: 21.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.471e-06/1.878, allocations: 4 kB / 1.89 GB, free: 21.09 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009636/1.887, allocations: 3.149 MB / 1.893 GB, free: 18.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/1.887, allocations: 26.17 kB / 1.893 GB, free: 18.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003451/1.891, allocations: 0.5905 MB / 1.893 GB, free: 18.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/1.893, allocations: 0.511 MB / 1.894 GB, free: 17.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009708/1.903, allocations: 6.694 MB / 1.9 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.908, allocations: 329.8 kB / 1.901 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/1.908, allocations: 120.6 kB / 1.901 GB, free: 11.37 MB / 0.8542 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.002143/1.91, allocations: 0.8787 MB / 1.902 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000913/1.911, allocations: 450.3 kB / 1.902 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008575/1.92, allocations: 3.02 MB / 1.905 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/1.92, allocations: 23.33 kB / 1.905 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.92, allocations: 8 kB / 1.905 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006559/1.926, allocations: 2.285 MB / 1.907 GB, free: 6.5 MB / 0.8542 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.0148/1.941, allocations: 5.934 MB / 1.913 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.941, allocations: 0 / 1.913 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.944, allocations: 366 kB / 1.913 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/1.945, allocations: 368.8 kB / 1.914 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/1.946, allocations: 48.09 kB / 1.914 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/1.951, allocations: 4.293 MB / 1.918 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-06/1.951, allocations: 0 / 1.918 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.964, allocations: 3.905 MB / 1.922 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.967, allocations: 0.741 MB / 1.923 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.968, allocations: 40 kB / 1.923 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/1.972, allocations: 307.2 kB / 1.923 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/1.972, allocations: 129.8 kB / 1.923 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/1.972, allocations: 67.95 kB / 1.923 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005985/1.978, allocations: 2.643 MB / 1.926 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.494e-06/1.978, allocations: 0 / 1.926 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009756/1.988, allocations: 1.996 MB / 1.928 GB, free: 4.137 MB / 0.8698 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.002059/1.99, allocations: 0.7769 MB / 1.928 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01333/2.004, allocations: 4.89 MB / 1.933 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.949e-06/2.004, allocations: 0 / 1.933 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/2.008, allocations: 1.403 MB / 1.935 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/2.021, allocations: 2.299 MB / 1.937 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/2.039, allocations: 8.876 MB / 1.945 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/2.042, allocations: 2.557 MB / 1.948 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.006078/2.049, allocations: 0.9266 MB / 1.949 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/2.05, allocations: 343.3 kB / 1.949 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of SimCode: time 1.735e-06/2.05, allocations: 3.938 kB / 1.949 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of Templates: time 0.2011/2.251, allocations: 84.11 MB / 2.031 GB, free: 11.45 MB / 0.9792 GB