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.722/1.722, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001083/0.001083, allocations: 177.8 kB / 372 MB, free: 10.27 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.551/1.551, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0008978/0.0008976, allocations: 89.11 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006251/0.0006252, allocations: 14.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2166, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04645/0.2631, allocations: 52.72 MB / 1.031 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.2789, allocations: 9.731 MB / 1.041 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.2816, allocations: 43.69 kB / 1.041 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.2841, allocations: 496.9 kB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.2897, allocations: 1.528 MB / 1.043 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.2932, allocations: 0.9943 MB / 1.044 GB, free: 9.918 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005454/0.2987, allocations: 4.02 MB / 1.048 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.3004, allocations: 0.891 MB / 1.048 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.3029, allocations: 1.058 MB / 1.049 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.3045, allocations: 0.9178 MB / 1.05 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.3046, allocations: 48 kB / 1.05 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3069, allocations: 0.8576 MB / 1.051 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.3072, allocations: 246.9 kB / 1.051 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.3077, allocations: 317 kB / 1.052 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.3104, allocations: 1.711 MB / 1.053 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3105, allocations: 4 kB / 1.053 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.456e-06/0.3105, allocations: 3.984 kB / 1.053 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.422e-05/0.3105, allocations: 0 / 1.053 GB, free: 15.79 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.002912/0.3134, allocations: 1.621 MB / 1.055 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3135, allocations: 8.031 kB / 1.055 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3137, allocations: 135.5 kB / 1.055 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.3141, allocations: 166.1 kB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.3162, allocations: 1.116 MB / 1.056 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.3163, allocations: 74 kB / 1.056 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3164, allocations: 95.98 kB / 1.057 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.3182, allocations: 0.9489 MB / 1.057 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.3182, allocations: 4 kB / 1.057 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.3183, allocations: 35.98 kB / 1.058 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.3184, allocations: 31.94 kB / 1.058 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.3196, allocations: 0.6635 MB / 1.058 GB, free: 10.73 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.005973/0.3255, allocations: 4.069 MB / 1.062 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.3263, allocations: 391.8 kB / 1.063 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.3267, allocations: 254.5 kB / 1.063 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004845/0.3272, allocations: 0.4991 MB / 1.063 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/0.3278, allocations: 350 kB / 1.064 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.3278, allocations: 4 kB / 1.064 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.004438/0.3323, allocations: 1.926 MB / 1.065 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.3324, allocations: 140.9 kB / 1.066 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.334, allocations: 1.078 MB / 1.067 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/0.3341, allocations: 37.7 kB / 1.067 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.3346, allocations: 0.5858 MB / 1.067 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.3348, allocations: 181.4 kB / 1.067 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3349, allocations: 16 kB / 1.067 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.335, allocations: 330 kB / 1.068 GB, free: 392 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3354, allocations: 213.8 kB / 1.068 GB, free: 180 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4493/0.7847, allocations: 432.5 kB / 1.068 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.7855, allocations: 304.6 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.7855, allocations: 1.938 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001779/0.7873, allocations: 0.8842 MB / 1.07 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.7874, allocations: 251.5 kB / 1.07 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.7874, allocations: 5.406 kB / 1.07 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.7879, allocations: 104.3 kB / 1.07 GB, free: 89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.7884, allocations: 130.6 kB / 1.07 GB, free: 88.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.7899, allocations: 2.172 MB / 1.072 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.7911, allocations: 94.42 kB / 1.072 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.7912, allocations: 29.92 kB / 1.072 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.7912, allocations: 4.844 kB / 1.072 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/0.7924, allocations: 0.7732 MB / 1.073 GB, free: 86.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.7925, allocations: 4.781 kB / 1.073 GB, free: 86.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.7927, allocations: 104.1 kB / 1.073 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.7932, allocations: 123.4 kB / 1.073 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.7946, allocations: 2.174 MB / 1.075 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009988/0.7956, allocations: 85.33 kB / 1.075 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.7956, allocations: 35.64 kB / 1.075 GB, free: 84.81 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.0006518/0.7963, allocations: 429.1 kB / 1.076 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.7965, allocations: 121.2 kB / 1.076 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.7979, allocations: 0.7951 MB / 1.077 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.7979, allocations: 5.625 kB / 1.077 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7979, allocations: 6.828 kB / 1.077 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.799, allocations: 0.6921 MB / 1.077 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.8023, allocations: 1.789 MB / 1.079 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8023, allocations: 2.578 kB / 1.079 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.8027, allocations: 77.94 kB / 1.079 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/0.8031, allocations: 109.2 kB / 1.079 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.8031, allocations: 20.92 kB / 1.079 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.8047, allocations: 2.162 MB / 1.082 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8047, allocations: 6.203 kB / 1.082 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.8066, allocations: 1.114 MB / 1.083 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.8072, allocations: 275 kB / 1.083 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.8073, allocations: 14.53 kB / 1.083 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.8081, allocations: 64.84 kB / 1.083 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.8082, allocations: 38.23 kB / 1.083 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.8082, allocations: 26.14 kB / 1.083 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001305/0.8095, allocations: 0.7497 MB / 1.084 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8096, allocations: 0 / 1.084 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002609/0.8122, allocations: 0.5863 MB / 1.084 GB, free: 79.59 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.003073/0.8152, allocations: 1.923 MB / 1.086 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.8178, allocations: 1.347 MB / 1.088 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.8178, allocations: 1.734 kB / 1.088 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.8185, allocations: 485.8 kB / 1.088 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.8216, allocations: 0.5789 MB / 1.089 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.8341, allocations: 6.697 MB / 1.095 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.835, allocations: 1.133 MB / 1.096 GB, free: 72.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001239/0.8362, allocations: 221.3 kB / 1.096 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/0.8367, allocations: 456.5 kB / 1.097 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.8367, allocations: 0 / 1.097 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/0.9052, allocations: 34.08 MB / 1.13 GB, free: 54.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.9054, allocations: 263.9 kB / 1.13 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.35, allocations: 8 kB / 1.13 GB, free: 53.9 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)