Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_10_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.001313/0.001313, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.00832/0.00832, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.243/1.243, 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 10.1.0-maint.10.0.x/package.mo): time 2.292/2.292, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 8 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5804, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05589/0.6364, allocations: 55.86 MB / 1.078 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.6524, allocations: 10.43 MB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.6552, allocations: 43.75 kB / 1.088 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.6576, allocations: 0.5634 MB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.6648, allocations: 1.825 MB / 1.09 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.6698, allocations: 1.179 MB / 1.091 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007657/0.6775, allocations: 4.715 MB / 1.096 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.6794, allocations: 1.019 MB / 1.097 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.6819, allocations: 1.081 MB / 1.098 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.6837, allocations: 0.9875 MB / 1.099 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003448/0.6841, allocations: 51.94 kB / 1.099 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.6871, allocations: 1.134 MB / 1.1 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.6875, allocations: 254.8 kB / 1.1 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.6888, allocations: 0.709 MB / 1.101 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.6928, allocations: 2.293 MB / 1.103 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6929, allocations: 4 kB / 1.103 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6929, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-05/0.6929, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.8575 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.00315/0.6961, allocations: 1.598 MB / 1.105 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6962, allocations: 8.031 kB / 1.105 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002417/0.6964, allocations: 135.6 kB / 1.105 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.6969, allocations: 167.2 kB / 1.105 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.6989, allocations: 1.186 MB / 1.106 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.6989, allocations: 69.98 kB / 1.106 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.6991, allocations: 92 kB / 1.107 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.7007, allocations: 0.9566 MB / 1.107 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.7008, allocations: 4 kB / 1.107 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.7009, allocations: 39.94 kB / 1.107 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.7009, allocations: 24 kB / 1.108 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.7021, allocations: 0.6714 MB / 1.108 GB, free: 8.289 MB / 0.8575 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.005072/0.7072, allocations: 4.073 MB / 1.112 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.7079, allocations: 404.3 kB / 1.113 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.7083, allocations: 258.5 kB / 1.113 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.7088, allocations: 0.503 MB / 1.113 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/0.7093, allocations: 358 kB / 1.114 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=52): time 2.285e-06/0.7093, allocations: 0 / 1.114 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=54): time 0.003886/0.7132, allocations: 1.976 MB / 1.116 GB, free: 284 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.7133, allocations: 141 kB / 1.116 GB, free: 112 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.7148, allocations: 1.094 MB / 1.117 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.7149, allocations: 41.64 kB / 1.117 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/0.7154, allocations: 0.5781 MB / 1.117 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.7156, allocations: 181.4 kB / 1.118 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.7157, allocations: 61.67 kB / 1.118 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7159, allocations: 338 kB / 1.118 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.7162, allocations: 213.6 kB / 1.118 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.7168, allocations: 432.7 kB / 1.119 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.7177, allocations: 0.6546 MB / 1.119 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7178, allocations: 7.938 kB / 1.119 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001535/0.7193, allocations: 0.8838 MB / 1.12 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.7195, allocations: 253.1 kB / 1.12 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.7195, allocations: 8 kB / 1.12 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.72, allocations: 110.1 kB / 1.12 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.7204, allocations: 115.8 kB / 1.12 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.7224, allocations: 2.207 MB / 1.123 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7235, allocations: 87.83 kB / 1.123 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.7235, allocations: 35.92 kB / 1.123 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7236, allocations: 7.938 kB / 1.123 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.7249, allocations: 0.7663 MB / 1.124 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.7249, allocations: 11.98 kB / 1.124 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.7252, allocations: 109.7 kB / 1.124 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.7256, allocations: 115.8 kB / 1.124 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.7275, allocations: 2.188 MB / 1.126 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.7285, allocations: 92.44 kB / 1.126 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.7286, allocations: 28 kB / 1.126 GB, free: 4.914 MB / 0.8731 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.0007065/0.7293, allocations: 434.6 kB / 1.126 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.7295, allocations: 126.5 kB / 1.127 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.731, allocations: 0.8078 MB / 1.127 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.731, allocations: 8 kB / 1.127 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.731, allocations: 3.938 kB / 1.127 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.732, allocations: 0.7074 MB / 1.128 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.7348, allocations: 1.829 MB / 1.13 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7348, allocations: 0 / 1.13 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.7352, allocations: 80.03 kB / 1.13 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.7356, allocations: 109.7 kB / 1.13 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.7356, allocations: 15.98 kB / 1.13 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.7374, allocations: 2.192 MB / 1.132 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7374, allocations: 4.062 kB / 1.132 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.7391, allocations: 1.131 MB / 1.133 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.7397, allocations: 291.3 kB / 1.134 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.74, allocations: 16 kB / 1.134 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.7409, allocations: 60 kB / 1.134 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.741, allocations: 39.83 kB / 1.134 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.7411, allocations: 27.97 kB / 1.134 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001426/0.7425, allocations: 0.813 MB / 1.134 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7426, allocations: 0 / 1.134 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002483/0.745, allocations: 0.5936 MB / 1.135 GB, free: 11.25 MB / 0.8887 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.003047/0.7481, allocations: 1.959 MB / 1.137 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00257/0.7507, allocations: 1.352 MB / 1.138 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7507, allocations: 0 / 1.138 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.7514, allocations: 466.3 kB / 1.139 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/0.7555, allocations: 0.7017 MB / 1.139 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.7734, allocations: 10.01 MB / 1.149 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009385/0.7744, allocations: 1.133 MB / 1.15 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001137/0.7756, allocations: 234.4 kB / 1.151 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.7762, allocations: 463.3 kB / 1.151 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of SimCode: time 1.102e-06/0.7762, allocations: 4 kB / 1.151 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.768/2.544, allocations: 37.11 MB / 1.187 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/2.545, allocations: 269.1 kB / 1.187 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.756/6.301, allocations: 0 / 1.187 GB, free: 5.375 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)