Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.BoilerTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_9_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.001085/0.001085, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001417/0.001417, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8444, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.0571/0.9016, allocations: 53.31 MB / 1.006 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01778/0.9194, allocations: 11.1 MB / 1.017 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.922, allocations: 51.69 kB / 1.017 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00352/0.9256, allocations: 1.03 MB / 1.018 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.9315, allocations: 1.687 MB / 1.019 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.9358, allocations: 1.199 MB / 1.021 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006843/0.9426, allocations: 4.255 MB / 1.025 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.9447, allocations: 0.9815 MB / 1.026 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.9475, allocations: 1.151 MB / 1.027 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.9495, allocations: 1.062 MB / 1.028 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.9499, allocations: 60 kB / 1.028 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/0.9544, allocations: 1.209 MB / 1.029 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008436/0.9553, allocations: 486.2 kB / 1.03 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.9563, allocations: 412.5 kB / 1.03 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.9605, allocations: 2.541 MB / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.9606, allocations: 0 / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9606, allocations: 0 / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.569e-05/0.9606, allocations: 0 / 1.032 GB, free: 15.43 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004055/0.9647, allocations: 2.353 MB / 1.035 GB, free: 12.99 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.9648, allocations: 16.03 kB / 1.035 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/0.965, allocations: 147.8 kB / 1.035 GB, free: 12.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.9655, allocations: 253 kB / 1.035 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.9684, allocations: 1.825 MB / 1.037 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.9685, allocations: 73.98 kB / 1.037 GB, free: 10.6 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.9686, allocations: 107.9 kB / 1.037 GB, free: 10.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.9703, allocations: 1.015 MB / 1.038 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.9704, allocations: 0 / 1.038 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.9705, allocations: 44 kB / 1.038 GB, free: 9.402 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.9705, allocations: 31.94 kB / 1.038 GB, free: 9.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.9718, allocations: 0.7261 MB / 1.039 GB, free: 8.645 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.007995/0.9798, allocations: 4.777 MB / 1.044 GB, free: 3.648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.9807, allocations: 462.6 kB / 1.044 GB, free: 3.188 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.9813, allocations: 322.4 kB / 1.044 GB, free: 2.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.982, allocations: 0.8239 MB / 1.045 GB, free: 1.863 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/0.9827, allocations: 405.9 kB / 1.046 GB, free: 1.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=65): time 2.805e-06/0.9827, allocations: 0.5469 kB / 1.046 GB, free: 1.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=67): time 0.005208/0.9879, allocations: 2.56 MB / 1.048 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.988, allocations: 115.4 kB / 1.048 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/0.9919, allocations: 2.752 MB / 1.051 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.992, allocations: 45.64 kB / 1.051 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008858/0.9929, allocations: 0.9033 MB / 1.052 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.9932, allocations: 216.9 kB / 1.052 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.9932, allocations: 16 kB / 1.052 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9934, allocations: 333.9 kB / 1.052 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.9938, allocations: 253.9 kB / 1.053 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006028/0.9944, allocations: 486.3 kB / 1.053 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.995, allocations: 366.5 kB / 1.053 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.995, allocations: 4 kB / 1.053 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002048/0.9971, allocations: 1.124 MB / 1.054 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.9973, allocations: 284.7 kB / 1.055 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9973, allocations: 4 kB / 1.055 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.9978, allocations: 117.6 kB / 1.055 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.9983, allocations: 135.8 kB / 1.055 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/1, allocations: 2.188 MB / 1.057 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.002, allocations: 95.94 kB / 1.057 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/1.002, allocations: 40 kB / 1.057 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.002, allocations: 5.562 kB / 1.057 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/1.003, allocations: 0.9609 MB / 1.058 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.003, allocations: 4 kB / 1.058 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/1.004, allocations: 118.2 kB / 1.058 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/1.004, allocations: 127.8 kB / 1.058 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/1.006, allocations: 2.192 MB / 1.061 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.007, allocations: 88.44 kB / 1.061 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/1.007, allocations: 32 kB / 1.061 GB, free: 1.188 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: 14 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,$PRE.TIn.nextEvent,TIn.nextEvent,TIn.nextEventScaled) * 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 (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 7} Notification: Performance of prepare postOptimizeDAE: time 0.001105/1.008, allocations: 0.6793 MB / 1.061 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/1.009, allocations: 205.4 kB / 1.062 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/1.011, allocations: 1.163 MB / 1.063 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.011, allocations: 8 kB / 1.063 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.011, allocations: 4 kB / 1.063 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/1.012, allocations: 0.93 MB / 1.064 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/1.017, allocations: 2.546 MB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.017, allocations: 4.031 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/1.017, allocations: 87.88 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/1.018, allocations: 109.6 kB / 1.066 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/1.018, allocations: 16 kB / 1.066 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.02, allocations: 2.195 MB / 1.068 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.02, allocations: 4.031 kB / 1.068 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.022, allocations: 1.508 MB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.023, allocations: 438.4 kB / 1.07 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004735/1.024, allocations: 19.98 kB / 1.07 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.025, allocations: 72 kB / 1.07 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.025, allocations: 44.34 kB / 1.07 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/1.025, allocations: 31.97 kB / 1.07 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003306/1.028, allocations: 1.964 MB / 1.072 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/1.028, allocations: 0 / 1.072 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003216/1.031, allocations: 0.7967 MB / 1.073 GB, free: 3.918 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: 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 (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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004815/1.036, allocations: 2.693 MB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002974/1.039, allocations: 1.698 MB / 1.077 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.039, allocations: 0 / 1.077 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/1.04, allocations: 0.6185 MB / 1.078 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/1.045, allocations: 0.6556 MB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/1.074, allocations: 13.33 MB / 1.092 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.076, allocations: 1.457 MB / 1.093 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001547/1.077, allocations: 349.5 kB / 1.093 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.078, allocations: 0.757 MB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of SimCode: time 1.383e-06/1.078, allocations: 0 / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09346/1.172, allocations: 49.93 MB / 1.143 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.172, allocations: 259.3 kB / 1.143 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/4.627, allocations: 0 / 1.143 GB, free: 11.63 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)