Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.825/2.825, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.00157/0.001571, allocations: 178.2 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001067/0.001067, allocations: 87.91 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 12.31 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.07221/0.286, allocations: 47.82 MB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.3074, allocations: 8.976 MB / 1.034 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.3096, allocations: 43.69 kB / 1.034 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.313, allocations: 0.6219 MB / 1.034 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009055/0.3221, allocations: 1.839 MB / 1.036 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006945/0.3291, allocations: 1.403 MB / 1.038 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005982/0.3351, allocations: 2.131 MB / 1.04 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/0.3376, allocations: 0.8991 MB / 1.041 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.341, allocations: 0.9458 MB / 1.041 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.343, allocations: 0.6649 MB / 1.042 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.3435, allocations: 52 kB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.347, allocations: 0.749 MB / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006315/0.3477, allocations: 243 kB / 1.043 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.3484, allocations: 312.9 kB / 1.043 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.3525, allocations: 1.664 MB / 1.045 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3525, allocations: 3.938 kB / 1.045 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3525, allocations: 0 / 1.045 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.862e-05/0.3526, allocations: 0 / 1.045 GB, free: 7.828 MB / 0.6667 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.00462/0.3573, allocations: 1.597 MB / 1.047 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.3574, allocations: 12.03 kB / 1.047 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004072/0.3578, allocations: 135.5 kB / 1.047 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.3585, allocations: 170.1 kB / 1.047 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.3618, allocations: 1.057 MB / 1.048 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.3619, allocations: 74 kB / 1.048 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.3622, allocations: 92 kB / 1.048 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.3651, allocations: 0.9371 MB / 1.049 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.3652, allocations: 8 kB / 1.049 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.3654, allocations: 39.94 kB / 1.049 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.345e-05/0.3655, allocations: 24 kB / 1.049 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.3678, allocations: 0.6636 MB / 1.05 GB, free: 2.855 MB / 0.6667 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.009621/0.3775, allocations: 4.096 MB / 1.054 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.379, allocations: 426.8 kB / 1.054 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/0.3797, allocations: 0.5031 MB / 1.055 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.3807, allocations: 354 kB / 1.055 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.317e-06/0.3807, allocations: 0 / 1.055 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.006523/0.3872, allocations: 2.006 MB / 1.057 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3874, allocations: 144.9 kB / 1.057 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.3898, allocations: 1.121 MB / 1.058 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.39, allocations: 37.7 kB / 1.058 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.3908, allocations: 0.5819 MB / 1.059 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.3911, allocations: 181.4 kB / 1.059 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.3912, allocations: 20 kB / 1.059 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3914, allocations: 330 kB / 1.059 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/0.3921, allocations: 217.9 kB / 1.059 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.3931, allocations: 423.2 kB / 1.06 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.394, allocations: 303.7 kB / 1.06 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.394, allocations: 0 / 1.06 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00271/0.3967, allocations: 0.8873 MB / 1.061 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009267/0.3977, allocations: 1.701 MB / 1.063 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.3978, allocations: 4 kB / 1.063 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007264/0.3985, allocations: 105.7 kB / 1.063 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.3995, allocations: 135.7 kB / 1.063 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.4025, allocations: 2.184 MB / 1.065 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.4045, allocations: 91.84 kB / 1.065 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.4048, allocations: 28 kB / 1.065 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4048, allocations: 8 kB / 1.065 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002265/0.4071, allocations: 0.774 MB / 1.066 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4071, allocations: 8.031 kB / 1.066 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/0.4076, allocations: 101.7 kB / 1.066 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.4086, allocations: 123.8 kB / 1.066 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6769/1.086, allocations: 2.168 MB / 1.068 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.087, allocations: 90.58 kB / 1.068 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.088, allocations: 31.61 kB / 1.068 GB, free: 87.57 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.001023/1.089, allocations: 430.9 kB / 1.069 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/1.089, allocations: 124.9 kB / 1.069 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/1.091, allocations: 0.8056 MB / 1.07 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.092, allocations: 4.188 kB / 1.07 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/1.092, allocations: 2.875 kB / 1.07 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/1.093, allocations: 0.6959 MB / 1.07 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/1.098, allocations: 1.809 MB / 1.072 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.098, allocations: 1.438 kB / 1.072 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/1.099, allocations: 73.83 kB / 1.072 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/1.099, allocations: 103.1 kB / 1.072 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/1.099, allocations: 19.06 kB / 1.072 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/1.101, allocations: 2.182 MB / 1.074 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.102, allocations: 7.453 kB / 1.074 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/1.104, allocations: 1.164 MB / 1.076 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009498/1.105, allocations: 290.9 kB / 1.076 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/1.106, allocations: 14.39 kB / 1.076 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.108, allocations: 65.91 kB / 1.076 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/1.109, allocations: 43.58 kB / 1.076 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.109, allocations: 26.12 kB / 1.076 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003442/1.112, allocations: 0.7796 MB / 1.077 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.372e-06/1.112, allocations: 5.734 kB / 1.077 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005525/1.118, allocations: 0.6 MB / 1.077 GB, free: 82.82 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.00487/1.123, allocations: 2.34 MB / 1.08 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003484/1.126, allocations: 1.345 MB / 1.081 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.126, allocations: 3.25 kB / 1.081 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.127, allocations: 475.1 kB / 1.081 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/1.133, allocations: 0.5776 MB / 1.082 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008258/1.141, allocations: 5.833 MB / 1.088 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.142, allocations: 1.151 MB / 1.089 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001699/1.144, allocations: 226.7 kB / 1.089 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/1.144, allocations: 457.2 kB / 1.089 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/1.144, allocations: 0 / 1.089 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.253, allocations: 34.08 MB / 1.123 GB, free: 61.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.253, allocations: 252.3 kB / 1.123 GB, free: 60.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.943/5.196, allocations: 3.938 kB / 1.123 GB, free: 60.8 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)