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 2.089/2.089, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.0011/0.0011, allocations: 174.1 kB / 371.8 MB, free: 10.28 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.515/1.515, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008259/0.0008259, allocations: 98.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006471, allocations: 11.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2653, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04187/0.3072, allocations: 47.82 MB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.3214, allocations: 8.976 MB / 1.035 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.3243, allocations: 43.69 kB / 1.035 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.327, allocations: 0.6258 MB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007096/0.3341, allocations: 1.831 MB / 1.037 GB, free: 184 kB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.3391, allocations: 1.403 MB / 1.039 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004928/0.3441, allocations: 2.136 MB / 1.041 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.346, allocations: 0.8991 MB / 1.042 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.3482, allocations: 0.9459 MB / 1.043 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.3496, allocations: 0.6649 MB / 1.043 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.3498, allocations: 48 kB / 1.043 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.352, allocations: 0.7568 MB / 1.044 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.3522, allocations: 243 kB / 1.044 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.3528, allocations: 317 kB / 1.045 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.3555, allocations: 1.652 MB / 1.046 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3555, allocations: 0 / 1.046 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3555, allocations: 0 / 1.046 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.418e-05/0.3556, allocations: 0 / 1.046 GB, free: 7.098 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.003526/0.3591, allocations: 1.605 MB / 1.048 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3591, allocations: 8.031 kB / 1.048 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000246/0.3594, allocations: 139.5 kB / 1.048 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004288/0.3598, allocations: 170.1 kB / 1.048 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.3618, allocations: 1.057 MB / 1.049 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.3619, allocations: 66 kB / 1.049 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.362, allocations: 99.92 kB / 1.049 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3635, allocations: 0.9449 MB / 1.05 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.3636, allocations: 0 / 1.05 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.3636, allocations: 36 kB / 1.05 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.3637, allocations: 27.94 kB / 1.05 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.3648, allocations: 0.6597 MB / 1.051 GB, free: 2.117 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.005857/0.3707, allocations: 4.112 MB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.3716, allocations: 412.7 kB / 1.055 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.3721, allocations: 0.4952 MB / 1.056 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/0.3727, allocations: 354.2 kB / 1.056 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.556e-06/0.3728, allocations: 0 / 1.056 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.004257/0.377, allocations: 2.01 MB / 1.058 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3772, allocations: 137 kB / 1.058 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.3789, allocations: 1.129 MB / 1.059 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.379, allocations: 37.7 kB / 1.059 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/0.3796, allocations: 0.578 MB / 1.06 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.3798, allocations: 181.4 kB / 1.06 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3798, allocations: 15.94 kB / 1.06 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.38, allocations: 334 kB / 1.06 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.3804, allocations: 213.9 kB / 1.061 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.381, allocations: 430.3 kB / 1.061 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.3816, allocations: 299.7 kB / 1.061 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3816, allocations: 4 kB / 1.061 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001735/0.3833, allocations: 0.8793 MB / 1.062 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008715/0.3842, allocations: 1.703 MB / 1.064 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.3842, allocations: 4 kB / 1.064 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.3847, allocations: 117.6 kB / 1.064 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.3852, allocations: 123.8 kB / 1.064 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.3872, allocations: 2.184 MB / 1.066 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3884, allocations: 91.91 kB / 1.066 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/0.3885, allocations: 28 kB / 1.066 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.3885, allocations: 7.938 kB / 1.066 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001344/0.3899, allocations: 0.7776 MB / 1.067 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3899, allocations: 4 kB / 1.067 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.3902, allocations: 113.7 kB / 1.067 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.3907, allocations: 124.1 kB / 1.067 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5284/0.9191, allocations: 2.172 MB / 1.069 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.9204, allocations: 88.8 kB / 1.07 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.269e-05/0.9205, allocations: 35.33 kB / 1.07 GB, free: 87.34 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.0007907/0.9213, allocations: 432.8 kB / 1.07 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.9216, allocations: 122.2 kB / 1.07 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.9234, allocations: 0.8031 MB / 1.071 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.9234, allocations: 4.828 kB / 1.071 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9234, allocations: 1.375 kB / 1.071 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/0.9247, allocations: 0.6944 MB / 1.072 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.9283, allocations: 1.808 MB / 1.073 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.9284, allocations: 1.125 kB / 1.073 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.9288, allocations: 70.81 kB / 1.073 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.9293, allocations: 106.5 kB / 1.074 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.9293, allocations: 13.05 kB / 1.074 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.9309, allocations: 2.182 MB / 1.076 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.9309, allocations: 5.094 kB / 1.076 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.933, allocations: 1.169 MB / 1.077 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/0.9337, allocations: 289.6 kB / 1.077 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.9338, allocations: 17.86 kB / 1.077 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/0.9346, allocations: 63.77 kB / 1.077 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9347, allocations: 40.27 kB / 1.077 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.9348, allocations: 25.72 kB / 1.077 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001509/0.9363, allocations: 0.7873 MB / 1.078 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9363, allocations: 1 kB / 1.078 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003153/0.9394, allocations: 0.599 MB / 1.079 GB, free: 82.5 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.003727/0.9432, allocations: 2.351 MB / 1.081 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003164/0.9464, allocations: 1.343 MB / 1.082 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.9464, allocations: 0.9375 kB / 1.082 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.9474, allocations: 476.8 kB / 1.083 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.9514, allocations: 0.5779 MB / 1.083 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.9592, allocations: 5.825 MB / 1.089 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.9606, allocations: 1.148 MB / 1.09 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001543/0.9621, allocations: 228 kB / 1.09 GB, free: 74.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/0.9629, allocations: 456.2 kB / 1.091 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/0.9629, allocations: 0 / 1.091 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0849/1.048, allocations: 34.09 MB / 1.124 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.048, allocations: 256.4 kB / 1.124 GB, free: 59.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/4.186, allocations: 7.938 kB / 1.124 GB, free: 59.71 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)