Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 86.56 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.001166/0.001166, 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 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.8305, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06046/0.891, allocations: 52.79 MB / 1.005 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.9077, allocations: 9.811 MB / 1.015 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.9102, allocations: 47.69 kB / 1.015 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.912, allocations: 0.4892 MB / 1.015 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00636/0.9184, allocations: 1.558 MB / 1.017 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/0.9221, allocations: 0.9683 MB / 1.018 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006855/0.929, allocations: 4.063 MB / 1.022 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.9308, allocations: 0.9092 MB / 1.023 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.9335, allocations: 1.05 MB / 1.024 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.9351, allocations: 0.9138 MB / 1.025 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.9354, allocations: 52 kB / 1.025 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.9379, allocations: 0.8614 MB / 1.026 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.9382, allocations: 250.9 kB / 1.026 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.9388, allocations: 313 kB / 1.026 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.9412, allocations: 1.715 MB / 1.028 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.9412, allocations: 0 / 1.028 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.826e-06/0.9412, allocations: 0 / 1.028 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.9413, allocations: 4 kB / 1.028 GB, free: 4.176 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002999/0.9443, allocations: 1.609 MB / 1.029 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9443, allocations: 8.031 kB / 1.029 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.9445, allocations: 147.4 kB / 1.03 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.9449, allocations: 170.1 kB / 1.03 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.9469, allocations: 1.135 MB / 1.031 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.947, allocations: 66 kB / 1.031 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.9471, allocations: 95.98 kB / 1.031 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.9489, allocations: 0.9528 MB / 1.032 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.9489, allocations: 3.938 kB / 1.032 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.949, allocations: 36 kB / 1.032 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.949, allocations: 28 kB / 1.032 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.9502, allocations: 0.6636 MB / 1.033 GB, free: 15.09 MB / 0.795 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.005211/0.9554, allocations: 4.061 MB / 1.037 GB, free: 10.82 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.9562, allocations: 417.5 kB / 1.037 GB, free: 10.41 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.9566, allocations: 264.2 kB / 1.037 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/0.9572, allocations: 0.4913 MB / 1.038 GB, free: 9.551 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/0.9578, allocations: 366 kB / 1.038 GB, free: 9.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 2.314e-06/0.9578, allocations: 0 / 1.038 GB, free: 9.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=54): time 0.004036/0.9619, allocations: 1.961 MB / 1.04 GB, free: 7.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.962, allocations: 141 kB / 1.04 GB, free: 6.938 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.9636, allocations: 1.082 MB / 1.041 GB, free: 5.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.9636, allocations: 38.14 kB / 1.041 GB, free: 5.801 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/0.9642, allocations: 0.582 MB / 1.042 GB, free: 5.211 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.9644, allocations: 185.3 kB / 1.042 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.9645, allocations: 12 kB / 1.042 GB, free: 5.016 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9646, allocations: 334 kB / 1.042 GB, free: 4.684 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.965, allocations: 209.5 kB / 1.042 GB, free: 4.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.9655, allocations: 424.9 kB / 1.043 GB, free: 3.984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.966, allocations: 295.8 kB / 1.043 GB, free: 3.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.966, allocations: 0 / 1.043 GB, free: 3.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001535/0.9676, allocations: 0.8794 MB / 1.044 GB, free: 2.789 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.9678, allocations: 247.5 kB / 1.044 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.9678, allocations: 7.938 kB / 1.044 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.9682, allocations: 113.7 kB / 1.044 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.9686, allocations: 123.8 kB / 1.045 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.9708, allocations: 2.191 MB / 1.047 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.9719, allocations: 95.81 kB / 1.047 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.972, allocations: 24 kB / 1.047 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.924e-06/0.972, allocations: 4 kB / 1.047 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/0.9733, allocations: 0.7699 MB / 1.048 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9733, allocations: 4 kB / 1.048 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.9737, allocations: 110 kB / 1.048 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.9741, allocations: 123.8 kB / 1.048 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.9761, allocations: 2.188 MB / 1.05 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.9772, allocations: 83.83 kB / 1.05 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.9772, allocations: 35.98 kB / 1.05 GB, free: 12.28 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000767/0.978, allocations: 430.6 kB / 1.05 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.9782, allocations: 122.5 kB / 1.051 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.9796, allocations: 0.8039 MB / 1.051 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.9797, allocations: 12 kB / 1.051 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9797, allocations: 3.953 kB / 1.051 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009941/0.9807, allocations: 0.7034 MB / 1.052 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.9835, allocations: 1.814 MB / 1.054 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.9835, allocations: 0 / 1.054 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.9839, allocations: 71.89 kB / 1.054 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.9842, allocations: 113.8 kB / 1.054 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.9843, allocations: 16 kB / 1.054 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.9861, allocations: 2.196 MB / 1.056 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.9861, allocations: 7.969 kB / 1.056 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.9879, allocations: 1.111 MB / 1.057 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.9885, allocations: 271.6 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.9886, allocations: 12 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.9893, allocations: 67.78 kB / 1.058 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.9893, allocations: 35.95 kB / 1.058 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.9894, allocations: 27.94 kB / 1.058 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00113/0.9905, allocations: 0.7565 MB / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9906, allocations: 0 / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002008/0.9926, allocations: 0.5858 MB / 1.059 GB, free: 2.73 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002716/0.9953, allocations: 1.934 MB / 1.061 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.9976, allocations: 1.325 MB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9976, allocations: 3.938 kB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.9982, allocations: 475.3 kB / 1.063 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.001, allocations: 0.5841 MB / 1.063 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.013, allocations: 6.746 MB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/1.014, allocations: 1.124 MB / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001175/1.015, allocations: 225.5 kB / 1.071 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/1.016, allocations: 459.3 kB / 1.071 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of SimCode: time 1.132e-06/1.016, allocations: 0 / 1.071 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06559/1.082, allocations: 34.07 MB / 1.105 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.082, allocations: 252.1 kB / 1.105 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.764, allocations: 1.75 kB / 1.105 GB, free: 3.496 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)