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 1.631/1.631, allocations: 287.4 MB / 302.6 MB, free: 8.277 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.0009322/0.0009322, allocations: 189.7 kB / 371.1 MB, free: 10.82 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.354/1.354, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007828/0.0007829, allocations: 103.6 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000533/0.0005331, allocations: 10.33 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2032, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04304/0.2463, allocations: 52.73 MB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.2592, allocations: 9.729 MB / 1.04 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.2606, allocations: 47.69 kB / 1.04 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2619, allocations: 496.9 kB / 1.04 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.2655, allocations: 1.529 MB / 1.042 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.2681, allocations: 0.9899 MB / 1.043 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004102/0.2723, allocations: 4.046 MB / 1.047 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.2736, allocations: 0.9854 MB / 1.048 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.2753, allocations: 1.058 MB / 1.049 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.2765, allocations: 0.9138 MB / 1.05 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.2766, allocations: 52 kB / 1.05 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.2786, allocations: 0.8498 MB / 1.05 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.2788, allocations: 254.8 kB / 1.051 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.2792, allocations: 313 kB / 1.051 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.2809, allocations: 1.718 MB / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2809, allocations: 0 / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2809, allocations: 0 / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.281, allocations: 0 / 1.053 GB, free: 192 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.002359/0.2833, allocations: 1.605 MB / 1.054 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2834, allocations: 8.031 kB / 1.054 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.2835, allocations: 139.6 kB / 1.054 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.2839, allocations: 167 kB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.2855, allocations: 1.17 MB / 1.056 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.2856, allocations: 73.98 kB / 1.056 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2857, allocations: 92 kB / 1.056 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2871, allocations: 0.9489 MB / 1.057 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2872, allocations: 0 / 1.057 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.2872, allocations: 40 kB / 1.057 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.2873, allocations: 23.94 kB / 1.057 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2884, allocations: 0.6675 MB / 1.057 GB, free: 11.09 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.004813/0.2932, allocations: 4.077 MB / 1.061 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.2938, allocations: 384.7 kB / 1.062 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2942, allocations: 251.5 kB / 1.062 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/0.2946, allocations: 0.4992 MB / 1.063 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/0.2952, allocations: 358 kB / 1.063 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.2952, allocations: 0 / 1.063 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.003469/0.2986, allocations: 1.93 MB / 1.065 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.2987, allocations: 144.9 kB / 1.065 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.3, allocations: 1.082 MB / 1.066 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.3001, allocations: 37.7 kB / 1.066 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.3005, allocations: 0.5819 MB / 1.067 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3006, allocations: 181.4 kB / 1.067 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.3007, allocations: 12 kB / 1.067 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3008, allocations: 330 kB / 1.067 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3011, allocations: 217.9 kB / 1.067 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.3016, allocations: 441.8 kB / 1.068 GB, free: 4 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4116/0.7132, allocations: 0.6328 MB / 1.068 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7133, allocations: 5.562 kB / 1.068 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001909/0.7152, allocations: 0.8849 MB / 1.069 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.7154, allocations: 245.5 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.7154, allocations: 4.188 kB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.7159, allocations: 117.8 kB / 1.07 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.7163, allocations: 120.2 kB / 1.07 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.7178, allocations: 2.171 MB / 1.072 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.7189, allocations: 97.77 kB / 1.072 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.719, allocations: 29.8 kB / 1.072 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.719, allocations: 6.938 kB / 1.072 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/0.7203, allocations: 0.7689 MB / 1.073 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.7203, allocations: 4.312 kB / 1.073 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.7206, allocations: 103.9 kB / 1.073 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.721, allocations: 120.4 kB / 1.073 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.7225, allocations: 2.177 MB / 1.075 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.7235, allocations: 85.52 kB / 1.075 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.7236, allocations: 30.23 kB / 1.075 GB, free: 84.87 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.0007538/0.7244, allocations: 432 kB / 1.075 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.7246, allocations: 125.7 kB / 1.076 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.726, allocations: 0.8055 MB / 1.076 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.726, allocations: 5.922 kB / 1.076 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7261, allocations: 0.6875 kB / 1.076 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.7271, allocations: 0.6936 MB / 1.077 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.7303, allocations: 1.789 MB / 1.079 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7303, allocations: 1.062 kB / 1.079 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.7307, allocations: 78.86 kB / 1.079 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.7311, allocations: 98.97 kB / 1.079 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.7311, allocations: 17.23 kB / 1.079 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.7325, allocations: 2.185 MB / 1.081 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7325, allocations: 1.562 kB / 1.081 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7342, allocations: 1.104 MB / 1.082 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.7347, allocations: 280.4 kB / 1.082 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.7349, allocations: 18.62 kB / 1.083 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.7355, allocations: 59.39 kB / 1.083 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.7357, allocations: 43.23 kB / 1.083 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.7357, allocations: 26.75 kB / 1.083 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001111/0.7368, allocations: 0.7453 MB / 1.083 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7368, allocations: 2.656 kB / 1.083 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001833/0.7387, allocations: 0.5883 MB / 1.084 GB, free: 79.66 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.002467/0.7412, allocations: 1.917 MB / 1.086 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.7433, allocations: 1.347 MB / 1.087 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7433, allocations: 0.875 kB / 1.087 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.744, allocations: 481.8 kB / 1.088 GB, free: 77.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.7468, allocations: 0.5864 MB / 1.088 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.7578, allocations: 6.698 MB / 1.095 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.7585, allocations: 1.128 MB / 1.096 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001281/0.7598, allocations: 232.2 kB / 1.096 GB, free: 73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.7604, allocations: 459.3 kB / 1.096 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/0.7604, allocations: 3.938 kB / 1.096 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5925/1.353, allocations: 34.9 MB / 1.131 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.353, allocations: 250.2 kB / 1.131 GB, free: 53.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.522, allocations: 0 / 1.131 GB, free: 53.83 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)