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.727/2.727, allocations: 287.5 MB / 302.4 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.002116/0.002116, allocations: 181.5 kB / 371 MB, free: 10.86 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.222/2.222, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0008897/0.0008896, allocations: 85.05 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.000496, allocations: 12.58 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.07747/0.2926, allocations: 52.72 MB / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.3241, allocations: 9.73 MB / 1.039 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.3269, allocations: 47.69 kB / 1.039 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.3306, allocations: 0.4931 MB / 1.04 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009917/0.3406, allocations: 1.524 MB / 1.041 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007744/0.3484, allocations: 0.9951 MB / 1.042 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.3597, allocations: 4.022 MB / 1.046 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.363, allocations: 0.8949 MB / 1.047 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.3679, allocations: 1.05 MB / 1.048 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.3713, allocations: 0.9178 MB / 1.049 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005282/0.3719, allocations: 48 kB / 1.049 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.3763, allocations: 0.8615 MB / 1.05 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005831/0.3769, allocations: 250.9 kB / 1.05 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.3777, allocations: 309 kB / 1.051 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.3816, allocations: 1.711 MB / 1.052 GB, free: 496 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3816, allocations: 4 kB / 1.052 GB, free: 492 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3816, allocations: 0 / 1.052 GB, free: 492 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.216e-05/0.3817, allocations: 0 / 1.052 GB, free: 492 kB / 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.00448/0.3862, allocations: 1.617 MB / 1.054 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.3862, allocations: 12.02 kB / 1.054 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004047/0.3867, allocations: 143.4 kB / 1.054 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006538/0.3873, allocations: 166.1 kB / 1.054 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.3906, allocations: 1.116 MB / 1.055 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.3908, allocations: 70 kB / 1.055 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.391, allocations: 92 kB / 1.055 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.3936, allocations: 0.9488 MB / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.3937, allocations: 4 kB / 1.056 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3939, allocations: 40 kB / 1.056 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.394, allocations: 23.94 kB / 1.056 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.3961, allocations: 0.6675 MB / 1.057 GB, free: 11.42 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.008792/0.4049, allocations: 4.073 MB / 1.061 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.4062, allocations: 387.5 kB / 1.061 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.4069, allocations: 255.5 kB / 1.062 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.4075, allocations: 0.4992 MB / 1.062 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009/0.4085, allocations: 358 kB / 1.062 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.386e-06/0.4085, allocations: 7.938 kB / 1.062 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.006307/0.4148, allocations: 1.926 MB / 1.064 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.4149, allocations: 140.9 kB / 1.064 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.4172, allocations: 1.074 MB / 1.065 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.4175, allocations: 45.7 kB / 1.066 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/0.4183, allocations: 0.578 MB / 1.066 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.4186, allocations: 181.4 kB / 1.066 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.4187, allocations: 16 kB / 1.066 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4188, allocations: 330 kB / 1.067 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.4195, allocations: 213.9 kB / 1.067 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/0.4204, allocations: 437.8 kB / 1.067 GB, free: 356 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.4212, allocations: 311.7 kB / 1.068 GB, free: 40 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.4213, allocations: 0 / 1.068 GB, free: 40 kB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.6522/1.074, allocations: 0.8682 MB / 1.068 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/1.074, allocations: 258.5 kB / 1.069 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.074, allocations: 3.969 kB / 1.069 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/1.075, allocations: 104.8 kB / 1.069 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/1.075, allocations: 128 kB / 1.069 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/1.078, allocations: 2.171 MB / 1.071 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.08, allocations: 92.41 kB / 1.071 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.08, allocations: 29.69 kB / 1.071 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.08, allocations: 7.906 kB / 1.071 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002246/1.082, allocations: 0.7753 MB / 1.072 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.082, allocations: 4.406 kB / 1.072 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/1.082, allocations: 104.4 kB / 1.072 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/1.083, allocations: 121.6 kB / 1.072 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/1.086, allocations: 2.175 MB / 1.074 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.087, allocations: 86.28 kB / 1.074 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.087, allocations: 29.89 kB / 1.074 GB, free: 85.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.0009671/1.088, allocations: 430.9 kB / 1.075 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/1.089, allocations: 124.3 kB / 1.075 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/1.091, allocations: 0.7929 MB / 1.076 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/1.091, allocations: 5.25 kB / 1.076 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.091, allocations: 4.062 kB / 1.076 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/1.093, allocations: 0.7018 MB / 1.076 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004642/1.098, allocations: 1.786 MB / 1.078 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.098, allocations: 5.641 kB / 1.078 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.099, allocations: 80.56 kB / 1.078 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005603/1.099, allocations: 100.8 kB / 1.078 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-05/1.099, allocations: 16.64 kB / 1.078 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/1.101, allocations: 2.175 MB / 1.08 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.101, allocations: 1.562 kB / 1.08 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/1.104, allocations: 1.108 MB / 1.081 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/1.105, allocations: 278.5 kB / 1.082 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/1.105, allocations: 15.19 kB / 1.082 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.107, allocations: 59.67 kB / 1.082 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.107, allocations: 39.25 kB / 1.082 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/1.107, allocations: 26.06 kB / 1.082 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001807/1.109, allocations: 0.7467 MB / 1.083 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.41e-07/1.109, allocations: 3.938 kB / 1.083 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003438/1.112, allocations: 0.5888 MB / 1.083 GB, free: 79.89 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.004335/1.117, allocations: 1.92 MB / 1.085 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003487/1.12, allocations: 1.339 MB / 1.086 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.12, allocations: 1.125 kB / 1.086 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.121, allocations: 488.9 kB / 1.087 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/1.127, allocations: 0.5902 MB / 1.087 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.145, allocations: 6.711 MB / 1.094 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.146, allocations: 1.121 MB / 1.095 GB, free: 73.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001728/1.148, allocations: 227.3 kB / 1.095 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/1.149, allocations: 456.7 kB / 1.096 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/1.149, allocations: 0 / 1.096 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09674/1.246, allocations: 34.05 MB / 1.129 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/1.246, allocations: 257.8 kB / 1.129 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/5.363, allocations: 3.75 kB / 1.129 GB, free: 55.11 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)