Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.552/1.552, allocations: 288.4 MB / 303.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 183.9 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 0.631 GB, free: 9.852 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006624/0.0006624, allocations: 94.86 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 15.73 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.187, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.03917/0.2262, allocations: 52.73 MB / 1.032 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2391, allocations: 9.746 MB / 1.041 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.2406, allocations: 47.69 kB / 1.041 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.2418, allocations: 492.9 kB / 1.042 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.2454, allocations: 1.63 MB / 1.043 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.248, allocations: 1.002 MB / 1.044 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004592/0.2526, allocations: 4.047 MB / 1.048 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.2541, allocations: 0.9892 MB / 1.049 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.2558, allocations: 1.07 MB / 1.05 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009424/0.2568, allocations: 0.9139 MB / 1.051 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.2569, allocations: 48 kB / 1.051 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.2589, allocations: 1.076 MB / 1.052 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.2591, allocations: 250.9 kB / 1.052 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.2597, allocations: 0.682 MB / 1.053 GB, free: 312 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.2612, allocations: 1.773 MB / 1.055 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2613, allocations: 0 / 1.055 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2613, allocations: 0 / 1.055 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.2613, allocations: 0 / 1.055 GB, free: 14.53 MB / 0.6823 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.002168/0.2635, allocations: 1.609 MB / 1.056 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2635, allocations: 12.03 kB / 1.056 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.2636, allocations: 135.6 kB / 1.057 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.2639, allocations: 171 kB / 1.057 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.2654, allocations: 1.17 MB / 1.058 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.2655, allocations: 70 kB / 1.058 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2656, allocations: 95.98 kB / 1.058 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.267, allocations: 0.9527 MB / 1.059 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.267, allocations: 0 / 1.059 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.2671, allocations: 35.94 kB / 1.059 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.2671, allocations: 28 kB / 1.059 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.2681, allocations: 0.6597 MB / 1.06 GB, free: 9.422 MB / 0.6823 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.004095/0.2722, allocations: 4.069 MB / 1.064 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.2728, allocations: 391.3 kB / 1.064 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.2731, allocations: 258.5 kB / 1.064 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.2735, allocations: 0.5031 MB / 1.065 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.2739, allocations: 358.4 kB / 1.065 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 1.763e-06/0.274, allocations: 0 / 1.065 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.003066/0.277, allocations: 1.93 MB / 1.067 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.2771, allocations: 144.9 kB / 1.067 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2782, allocations: 1.078 MB / 1.068 GB, free: 220 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.2782, allocations: 41.7 kB / 1.068 GB, free: 172 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.3214/0.5997, allocations: 0.5681 MB / 1.069 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.5999, allocations: 181.5 kB / 1.069 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.6, allocations: 13.75 kB / 1.069 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.6001, allocations: 332.3 kB / 1.069 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.6005, allocations: 216.6 kB / 1.069 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.601, allocations: 436 kB / 1.07 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.6018, allocations: 0.6487 MB / 1.071 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6018, allocations: 2.25 kB / 1.071 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001361/0.6032, allocations: 0.8824 MB / 1.071 GB, free: 88.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.281e-05/0.6033, allocations: 245.1 kB / 1.072 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6033, allocations: 4.125 kB / 1.072 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.6036, allocations: 108.8 kB / 1.072 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.6041, allocations: 126.5 kB / 1.072 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.6053, allocations: 2.167 MB / 1.074 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/0.6062, allocations: 92.67 kB / 1.074 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.6063, allocations: 33.58 kB / 1.074 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.6063, allocations: 11.88 kB / 1.074 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/0.6074, allocations: 0.7674 MB / 1.075 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6074, allocations: 4.562 kB / 1.075 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.6077, allocations: 103.4 kB / 1.075 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.6081, allocations: 121.6 kB / 1.075 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.6092, allocations: 2.175 MB / 1.077 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.61, allocations: 85.02 kB / 1.077 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.6101, allocations: 34.23 kB / 1.077 GB, free: 84.13 MB / 0.6823 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 (73): * Single equations (assignments): 70 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005323/0.6106, allocations: 434.7 kB / 1.078 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.6108, allocations: 122.7 kB / 1.078 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.612, allocations: 0.7966 MB / 1.079 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.612, allocations: 6.422 kB / 1.079 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.612, allocations: 2.609 kB / 1.079 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008534/0.6129, allocations: 0.698 MB / 1.079 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.6152, allocations: 1.788 MB / 1.081 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6152, allocations: 4.359 kB / 1.081 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.6156, allocations: 78.33 kB / 1.081 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000273/0.6158, allocations: 108.4 kB / 1.081 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.6159, allocations: 20.91 kB / 1.081 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6171, allocations: 2.172 MB / 1.083 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6172, allocations: 3.016 kB / 1.083 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.6186, allocations: 1.101 MB / 1.084 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.619, allocations: 275.9 kB / 1.085 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.6191, allocations: 14.16 kB / 1.085 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/0.6198, allocations: 63.03 kB / 1.085 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.6199, allocations: 43.41 kB / 1.085 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.6199, allocations: 26.02 kB / 1.085 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009566/0.6209, allocations: 0.7494 MB / 1.086 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6209, allocations: 1.031 kB / 1.086 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001606/0.6225, allocations: 0.5854 MB / 1.086 GB, free: 78.77 MB / 0.6823 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 (39): * Single equations (assignments): 34 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/0.6247, allocations: 1.939 MB / 1.088 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.6265, allocations: 1.349 MB / 1.089 GB, free: 76.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6265, allocations: 2.844 kB / 1.089 GB, free: 76.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.6271, allocations: 478.3 kB / 1.09 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.6296, allocations: 0.5803 MB / 1.09 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009595/0.6392, allocations: 6.708 MB / 1.097 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.6398, allocations: 1.125 MB / 1.098 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009668/0.6408, allocations: 220.3 kB / 1.098 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/0.6413, allocations: 464.4 kB / 1.099 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/0.6413, allocations: 0 / 1.099 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.159/1.8, allocations: 35.3 MB / 1.133 GB, free: 51.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.8, allocations: 257.2 kB / 1.133 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/5.57, allocations: 0 / 1.133 GB, free: 51.29 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)