Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008151, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.593/2.593, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.821, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05705/0.8781, allocations: 52.8 MB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.8932, allocations: 9.801 MB / 1.042 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.8952, allocations: 51.69 kB / 1.042 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.8968, allocations: 496.9 kB / 1.043 GB, free: 6.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.9018, allocations: 1.558 MB / 1.044 GB, free: 5.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.9051, allocations: 0.9731 MB / 1.045 GB, free: 4.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005538/0.9106, allocations: 4.065 MB / 1.049 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.9123, allocations: 0.8936 MB / 1.05 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.9148, allocations: 1.058 MB / 1.051 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.9164, allocations: 0.9178 MB / 1.052 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.9165, allocations: 48 kB / 1.052 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.9189, allocations: 0.8614 MB / 1.053 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.9192, allocations: 250.9 kB / 1.053 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.9197, allocations: 313 kB / 1.053 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.922, allocations: 1.711 MB / 1.055 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.922, allocations: 4 kB / 1.055 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.467e-06/0.922, allocations: 0 / 1.055 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.9221, allocations: 3.938 kB / 1.055 GB, free: 10.24 MB / 0.8106 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.002917/0.925, allocations: 1.621 MB / 1.057 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.925, allocations: 12.03 kB / 1.057 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.9252, allocations: 143.4 kB / 1.057 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.9256, allocations: 162.2 kB / 1.057 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.9276, allocations: 1.131 MB / 1.058 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.9276, allocations: 70 kB / 1.058 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.9278, allocations: 91.98 kB / 1.058 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.9294, allocations: 0.9527 MB / 1.059 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.9294, allocations: 0 / 1.059 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.9295, allocations: 43.95 kB / 1.059 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.9296, allocations: 27.98 kB / 1.059 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.9307, allocations: 0.6675 MB / 1.06 GB, free: 5.152 MB / 0.8106 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.005445/0.9362, allocations: 4.077 MB / 1.064 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.937, allocations: 396.8 kB / 1.064 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.9374, allocations: 258.5 kB / 1.065 GB, free: 212 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.9378, allocations: 0.5031 MB / 1.065 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.9384, allocations: 358 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=52): time 2.515e-06/0.9384, allocations: 0 / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=54): time 0.004118/0.9426, allocations: 1.961 MB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.9427, allocations: 140.9 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.9441, allocations: 1.082 MB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.9442, allocations: 42.14 kB / 1.069 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/0.9448, allocations: 0.5742 MB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.9449, allocations: 189.3 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.945, allocations: 12 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.9451, allocations: 334 kB / 1.07 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.9455, allocations: 213.5 kB / 1.07 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.9461, allocations: 428.6 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.9469, allocations: 295.8 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9469, allocations: 0 / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002475/0.9494, allocations: 0.8756 MB / 1.071 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.9497, allocations: 247.1 kB / 1.072 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.9497, allocations: 4 kB / 1.072 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/0.9504, allocations: 125.6 kB / 1.072 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.9511, allocations: 115.8 kB / 1.072 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.954, allocations: 2.192 MB / 1.074 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.9559, allocations: 93.25 kB / 1.074 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.956, allocations: 39.88 kB / 1.074 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.956, allocations: 4 kB / 1.074 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/0.9581, allocations: 0.7622 MB / 1.075 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.9581, allocations: 8 kB / 1.075 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.9586, allocations: 109.6 kB / 1.075 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.9593, allocations: 116.1 kB / 1.075 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.9619, allocations: 2.196 MB / 1.077 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.9636, allocations: 83.83 kB / 1.077 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.9637, allocations: 31.98 kB / 1.077 GB, free: 2.328 MB / 0.8262 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 (70): * Single equations (assignments): 67 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.9649, allocations: 430.7 kB / 1.078 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.9653, allocations: 122.5 kB / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.9674, allocations: 0.8077 MB / 1.079 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.9675, allocations: 4 kB / 1.079 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.9675, allocations: 12.12 kB / 1.079 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/0.9691, allocations: 0.7072 MB / 1.079 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/0.9741, allocations: 1.798 MB / 1.081 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.9742, allocations: 4 kB / 1.081 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.9748, allocations: 75.89 kB / 1.081 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/0.9753, allocations: 109.6 kB / 1.081 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.9753, allocations: 20.16 kB / 1.081 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.9779, allocations: 2.18 MB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9779, allocations: 0 / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.9807, allocations: 1.111 MB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009882/0.9817, allocations: 283.5 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/0.9822, allocations: 12 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.9836, allocations: 64.06 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.9837, allocations: 43.84 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9838, allocations: 27.98 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002065/0.9859, allocations: 0.7565 MB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9859, allocations: 0 / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00357/0.9895, allocations: 0.578 MB / 1.086 GB, free: 8.801 MB / 0.8419 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 (38): * Single equations (assignments): 33 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004332/0.9938, allocations: 1.946 MB / 1.088 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003476/0.9973, allocations: 1.333 MB / 1.089 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.9974, allocations: 3.938 kB / 1.089 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.9984, allocations: 470.2 kB / 1.09 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/1.003, allocations: 0.5795 MB / 1.09 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.019, allocations: 6.732 MB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/1.02, allocations: 1.128 MB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001102/1.021, allocations: 225.5 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/1.021, allocations: 455.3 kB / 1.099 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of SimCode: time 9.22e-07/1.021, allocations: 4 kB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/1.085, allocations: 34.09 MB / 1.132 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/1.086, allocations: 261.5 kB / 1.132 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.872, allocations: 0 / 1.132 GB, free: 9.508 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) Environment - environmentSimulation: