Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.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.BoilerTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable",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.0009047/0.0009047, allocations: 98.03 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.005459/0.005459, allocations: 170.6 kB / 16.27 MB, free: 6.656 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.289/1.289, 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.416/2.416, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 13.97 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2464, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05169/0.2981, allocations: 56.43 MB / 1.114 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.313, allocations: 11.85 MB / 1.125 GB, free: 412 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.3146, allocations: 43.75 kB / 1.125 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.3173, allocations: 1.128 MB / 1.127 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.3218, allocations: 1.963 MB / 1.128 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.3251, allocations: 1.419 MB / 1.13 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004952/0.3301, allocations: 4.939 MB / 1.135 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.3317, allocations: 1.096 MB / 1.136 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.3338, allocations: 1.186 MB / 1.137 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.3355, allocations: 1.136 MB / 1.138 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.3358, allocations: 60 kB / 1.138 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.3385, allocations: 1.517 MB / 1.14 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.339, allocations: 498 kB / 1.14 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.3403, allocations: 0.9842 MB / 1.141 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.3441, allocations: 3.302 MB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3441, allocations: 0 / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3441, allocations: 0 / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.302e-05/0.3442, allocations: 0 / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003718/0.3479, allocations: 2.335 MB / 1.147 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3479, allocations: 11.97 kB / 1.147 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.3481, allocations: 144 kB / 1.147 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.3485, allocations: 246 kB / 1.147 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.351, allocations: 1.922 MB / 1.149 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.3511, allocations: 74 kB / 1.149 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3512, allocations: 96 kB / 1.149 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.3527, allocations: 1.031 MB / 1.15 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.3527, allocations: 0 / 1.15 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.3528, allocations: 43.98 kB / 1.15 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.3528, allocations: 24 kB / 1.15 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3539, allocations: 0.7378 MB / 1.151 GB, free: 6.211 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.004874/0.3588, allocations: 4.792 MB / 1.155 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.3595, allocations: 453.8 kB / 1.156 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.3599, allocations: 322.4 kB / 1.156 GB, free: 436 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.3605, allocations: 0.8239 MB / 1.157 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.361, allocations: 413.8 kB / 1.157 GB, free: 14.99 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 1.693e-06/0.361, allocations: 0 / 1.157 GB, free: 14.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.003918/0.365, allocations: 2.576 MB / 1.16 GB, free: 12.3 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.365, allocations: 115.4 kB / 1.16 GB, free: 12.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.3679, allocations: 2.76 MB / 1.163 GB, free: 9.367 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.368, allocations: 37.7 kB / 1.163 GB, free: 9.324 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.3687, allocations: 0.9072 MB / 1.164 GB, free: 8.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3689, allocations: 216.9 kB / 1.164 GB, free: 8.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.369, allocations: 77.62 kB / 1.164 GB, free: 8.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3691, allocations: 337.9 kB / 1.164 GB, free: 7.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.3695, allocations: 257.9 kB / 1.164 GB, free: 7.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.37, allocations: 490.3 kB / 1.165 GB, free: 6.965 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/0.3709, allocations: 0.7966 MB / 1.166 GB, free: 6.086 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3709, allocations: 4 kB / 1.166 GB, free: 6.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001565/0.3725, allocations: 1.136 MB / 1.167 GB, free: 4.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.3727, allocations: 284.6 kB / 1.167 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3727, allocations: 4 kB / 1.167 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.3731, allocations: 121.6 kB / 1.167 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.3736, allocations: 135.8 kB / 1.167 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.3753, allocations: 2.188 MB / 1.169 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.3762, allocations: 101.2 kB / 1.17 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.3762, allocations: 35.92 kB / 1.17 GB, free: 1.824 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.3763, allocations: 4 kB / 1.17 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/0.3776, allocations: 0.9651 MB / 1.171 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3777, allocations: 8 kB / 1.171 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.3779, allocations: 109.6 kB / 1.171 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.3783, allocations: 132.2 kB / 1.171 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.3799, allocations: 2.184 MB / 1.173 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.3807, allocations: 88.02 kB / 1.173 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3808, allocations: 39.92 kB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * 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.0006697/0.3815, allocations: 0.6859 MB / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.3817, allocations: 205.5 kB / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.3833, allocations: 1.171 MB / 1.175 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3833, allocations: 11.98 kB / 1.175 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3833, allocations: 0 / 1.175 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.3845, allocations: 0.9222 MB / 1.176 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.3875, allocations: 2.583 MB / 1.178 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3875, allocations: 0 / 1.178 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.3878, allocations: 92.03 kB / 1.179 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.3882, allocations: 109.6 kB / 1.179 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.3882, allocations: 23.98 kB / 1.179 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.3897, allocations: 2.18 MB / 1.181 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3897, allocations: 32 / 1.181 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.3915, allocations: 1.53 MB / 1.182 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005658/0.3921, allocations: 450.2 kB / 1.183 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.3923, allocations: 24 kB / 1.183 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/0.3932, allocations: 75.86 kB / 1.183 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.3933, allocations: 36.33 kB / 1.183 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.3933, allocations: 39.97 kB / 1.183 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002295/0.3956, allocations: 2.013 MB / 1.185 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3956, allocations: 4 kB / 1.185 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001898/0.3975, allocations: 0.8083 MB / 1.186 GB, free: 0.7109 MB / 0.9356 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: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,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 (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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.003631/0.4012, allocations: 2.714 MB / 1.188 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.4033, allocations: 1.707 MB / 1.19 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4034, allocations: 4 kB / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.4041, allocations: 0.6253 MB / 1.191 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/0.4077, allocations: 0.7706 MB / 1.191 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/0.4358, allocations: 20.41 MB / 1.211 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.4369, allocations: 1.458 MB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001173/0.4381, allocations: 366.2 kB / 1.213 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/0.439, allocations: 0.7726 MB / 1.214 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of SimCode: time 8.81e-07/0.439, allocations: 0 / 1.214 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.449/1.888, allocations: 53.41 MB / 1.266 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.888, allocations: 282 kB / 1.266 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/5.139, allocations: 3.938 kB / 1.266 GB, free: 179.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable.fmu > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)