Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_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.0008769/0.0008769, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005132/0.005132, allocations: 171.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5608, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04828/0.6091, allocations: 55.86 MB / 1.01 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.6225, allocations: 10.41 MB / 1.02 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.6241, allocations: 47.69 kB / 1.02 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.6258, allocations: 0.5634 MB / 1.02 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.6304, allocations: 1.816 MB / 1.022 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.6332, allocations: 1.183 MB / 1.023 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005044/0.6383, allocations: 4.719 MB / 1.028 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.6399, allocations: 1.015 MB / 1.029 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.6421, allocations: 1.085 MB / 1.03 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.6437, allocations: 0.9721 MB / 1.031 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.644, allocations: 48 kB / 1.031 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.6464, allocations: 1.134 MB / 1.032 GB, free: 256 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.6468, allocations: 274.7 kB / 1.032 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.6478, allocations: 0.7089 MB / 1.033 GB, free: 15.26 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.6509, allocations: 2.286 MB / 1.035 GB, free: 12.97 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6509, allocations: 4 kB / 1.035 GB, free: 12.96 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6509, allocations: 0 / 1.035 GB, free: 12.96 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.506e-05/0.651, allocations: 0 / 1.035 GB, free: 12.96 MB / 0.795 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.002624/0.6536, allocations: 1.599 MB / 1.037 GB, free: 11.3 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6537, allocations: 12.02 kB / 1.037 GB, free: 11.29 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.6539, allocations: 139.6 kB / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.6542, allocations: 167.1 kB / 1.037 GB, free: 10.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.6558, allocations: 1.178 MB / 1.038 GB, free: 9.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.6559, allocations: 66 kB / 1.038 GB, free: 9.676 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.656, allocations: 92 kB / 1.039 GB, free: 9.586 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6574, allocations: 0.9644 MB / 1.039 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.6575, allocations: 4 kB / 1.039 GB, free: 8.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.6575, allocations: 36 kB / 1.04 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.6576, allocations: 27.98 kB / 1.04 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.6587, allocations: 0.6714 MB / 1.04 GB, free: 7.844 MB / 0.795 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.004373/0.663, allocations: 4.073 MB / 1.044 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.6637, allocations: 398.2 kB / 1.045 GB, free: 3.164 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.6641, allocations: 258.5 kB / 1.045 GB, free: 2.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003653/0.6645, allocations: 0.4952 MB / 1.045 GB, free: 2.305 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005183/0.665, allocations: 373.9 kB / 1.046 GB, free: 1.914 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 2.906e-06/0.665, allocations: 0 / 1.046 GB, free: 1.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=54): time 0.003603/0.6686, allocations: 1.985 MB / 1.048 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.6687, allocations: 137 kB / 1.048 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.6701, allocations: 1.094 MB / 1.049 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6701, allocations: 37.7 kB / 1.049 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.6706, allocations: 0.5742 MB / 1.049 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.6707, allocations: 189.3 kB / 1.05 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.6708, allocations: 61.67 kB / 1.05 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6709, allocations: 334 kB / 1.05 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.6713, allocations: 213.6 kB / 1.05 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.6718, allocations: 432.9 kB / 1.051 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/0.6726, allocations: 0.6586 MB / 1.051 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6726, allocations: 0 / 1.051 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001298/0.6739, allocations: 0.8874 MB / 1.052 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.674, allocations: 245.3 kB / 1.052 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6741, allocations: 8 kB / 1.052 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.6744, allocations: 121.6 kB / 1.052 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.6748, allocations: 115.8 kB / 1.053 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.6764, allocations: 2.195 MB / 1.055 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.6772, allocations: 89.36 kB / 1.055 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.6773, allocations: 35.98 kB / 1.055 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/0.6773, allocations: 7.938 kB / 1.055 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/0.6785, allocations: 0.7624 MB / 1.056 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6785, allocations: 4 kB / 1.056 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.6788, allocations: 113.6 kB / 1.056 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.6791, allocations: 115.8 kB / 1.056 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.6806, allocations: 2.2 MB / 1.058 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/0.6814, allocations: 87.77 kB / 1.058 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.6815, allocations: 28.16 kB / 1.058 GB, free: 4.473 MB / 0.8106 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 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004741/0.6819, allocations: 430.6 kB / 1.058 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.6821, allocations: 122.5 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.6833, allocations: 0.8232 MB / 1.059 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.6833, allocations: 8 kB / 1.059 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6834, allocations: 0 / 1.059 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009099/0.6843, allocations: 0.7074 MB / 1.06 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.6866, allocations: 1.825 MB / 1.062 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6866, allocations: 4.156 kB / 1.062 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.6869, allocations: 75.89 kB / 1.062 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.6872, allocations: 113.6 kB / 1.062 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.6873, allocations: 19.98 kB / 1.062 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.6888, allocations: 2.188 MB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6888, allocations: 0 / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6902, allocations: 1.128 MB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.6906, allocations: 287.4 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.6908, allocations: 15.98 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.6915, allocations: 60 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.6916, allocations: 35.89 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.6917, allocations: 27.98 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001003/0.6927, allocations: 0.8208 MB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6927, allocations: 0 / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001507/0.6942, allocations: 0.5858 MB / 1.067 GB, free: 10.82 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002325/0.6965, allocations: 1.966 MB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.6984, allocations: 1.348 MB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6984, allocations: 4 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.699, allocations: 467.4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/0.7023, allocations: 0.7171 MB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.716, allocations: 10 MB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.7166, allocations: 1.133 MB / 1.082 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008916/0.7175, allocations: 234.3 kB / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.718, allocations: 467.3 kB / 1.083 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/0.7181, allocations: 0 / 1.083 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.721/2.439, allocations: 37.1 MB / 1.119 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/2.44, allocations: 271.8 kB / 1.119 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/5.423, allocations: 3.938 kB / 1.119 GB, free: 4.922 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)