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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008315/0.0008314, allocations: 91.84 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.005268/0.005268, allocations: 169.9 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.221/1.221, 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 11.0.0-master/package.mo): time 2.458/2.458, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 11.84 kB / 0.9029 GB, free: 36.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.0447/0.2794, allocations: 55.87 MB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.2919, allocations: 10.42 MB / 1.123 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.2933, allocations: 47.69 kB / 1.124 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.2948, allocations: 0.5673 MB / 1.124 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.2989, allocations: 1.823 MB / 1.126 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3016, allocations: 1.18 MB / 1.127 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.306, allocations: 4.723 MB / 1.132 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.3074, allocations: 1.013 MB / 1.133 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.309, allocations: 1.085 MB / 1.134 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009649/0.31, allocations: 0.9721 MB / 1.135 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3101, allocations: 56 kB / 1.135 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.3119, allocations: 1.13 MB / 1.136 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.3122, allocations: 266.7 kB / 1.136 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.3128, allocations: 0.705 MB / 1.137 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.3148, allocations: 2.282 MB / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3148, allocations: 0 / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3148, allocations: 0 / 1.139 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.3148, allocations: 3.938 kB / 1.139 GB, free: 2.445 MB / 0.8887 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.002176/0.317, allocations: 1.605 MB / 1.141 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.317, allocations: 19.95 kB / 1.141 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.3172, allocations: 143.6 kB / 1.141 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.3175, allocations: 167.1 kB / 1.141 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.319, allocations: 1.162 MB / 1.142 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.319, allocations: 70 kB / 1.142 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.3192, allocations: 88 kB / 1.142 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3205, allocations: 0.9682 MB / 1.143 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.3205, allocations: 0 / 1.143 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.3206, allocations: 39.98 kB / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.3206, allocations: 24 kB / 1.143 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3217, allocations: 0.6753 MB / 1.144 GB, free: 13.32 MB / 0.9044 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.004071/0.3258, allocations: 4.084 MB / 1.148 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3264, allocations: 397.9 kB / 1.148 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3268, allocations: 270.5 kB / 1.148 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.3271, allocations: 0.4991 MB / 1.149 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004651/0.3276, allocations: 358 kB / 1.149 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 1.503e-06/0.3276, allocations: 0 / 1.149 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54): time 0.003222/0.3308, allocations: 1.969 MB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3309, allocations: 141 kB / 1.151 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3321, allocations: 1.094 MB / 1.152 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.3321, allocations: 45.7 kB / 1.152 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.3325, allocations: 0.5702 MB / 1.153 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.3327, allocations: 185.4 kB / 1.153 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.3327, allocations: 65.67 kB / 1.153 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.3328, allocations: 330 kB / 1.154 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.3332, allocations: 213.6 kB / 1.154 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.3336, allocations: 440.6 kB / 1.154 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.3344, allocations: 0.6507 MB / 1.155 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3344, allocations: 0 / 1.155 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001224/0.3357, allocations: 0.8876 MB / 1.156 GB, free: 476 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.3358, allocations: 253.5 kB / 1.156 GB, free: 156 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.3358, allocations: 4 kB / 1.156 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.3362, allocations: 121.6 kB / 1.156 GB, free: 24 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.3365, allocations: 123.8 kB / 1.156 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3381, allocations: 2.184 MB / 1.158 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.3389, allocations: 91.97 kB / 1.158 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.3389, allocations: 31.98 kB / 1.158 GB, free: 13.44 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.3389, allocations: 7.938 kB / 1.158 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.34, allocations: 0.7699 MB / 1.159 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3401, allocations: 4 kB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.3403, allocations: 121.8 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3407, allocations: 112.1 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3421, allocations: 2.196 MB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/0.3428, allocations: 83.83 kB / 1.162 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3429, allocations: 28 kB / 1.162 GB, free: 9.941 MB / 0.92 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.0004415/0.3433, allocations: 430.5 kB / 1.162 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3435, allocations: 130.4 kB / 1.162 GB, free: 9.375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.3447, allocations: 0.804 MB / 1.163 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3447, allocations: 4 kB / 1.163 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3447, allocations: 4 kB / 1.163 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008939/0.3456, allocations: 0.7074 MB / 1.164 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.3478, allocations: 1.833 MB / 1.165 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3478, allocations: 0 / 1.165 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.3481, allocations: 75.95 kB / 1.166 GB, free: 5.805 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.3484, allocations: 117.8 kB / 1.166 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.3485, allocations: 19.98 kB / 1.166 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.3499, allocations: 2.18 MB / 1.168 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3499, allocations: 0 / 1.168 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.3513, allocations: 1.143 MB / 1.169 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.3517, allocations: 279.4 kB / 1.169 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3518, allocations: 19.98 kB / 1.169 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.3526, allocations: 63.94 kB / 1.169 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.3526, allocations: 39.89 kB / 1.169 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.3527, allocations: 23.98 kB / 1.169 GB, free: 1.703 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000917/0.3536, allocations: 0.8169 MB / 1.17 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3536, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00143/0.3551, allocations: 0.5936 MB / 1.171 GB, free: 296 kB / 0.92 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.002231/0.3573, allocations: 1.957 MB / 1.173 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.3591, allocations: 1.336 MB / 1.174 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3591, allocations: 1.438 kB / 1.174 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.3596, allocations: 490.4 kB / 1.174 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/0.3629, allocations: 0.7083 MB / 1.175 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3756, allocations: 10.01 MB / 1.185 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.3762, allocations: 1.125 MB / 1.186 GB, free: 64 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008417/0.3771, allocations: 234.3 kB / 1.186 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.3776, allocations: 467.3 kB / 1.187 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.3776, allocations: 0 / 1.187 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.941/2.319, allocations: 37.12 MB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/2.319, allocations: 277.9 kB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/5.155, allocations: 0 / 1.223 GB, free: 10.38 MB / 0.9825 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/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)