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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0009154/0.0009154, allocations: 86.25 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.001105/0.001105, 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.591/2.591, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003591, allocations: 11.94 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8287, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05394/0.8827, allocations: 53.32 MB / 1.033 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.9021, allocations: 11.11 MB / 1.044 GB, free: 5.609 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.9048, allocations: 47.69 kB / 1.044 GB, free: 5.562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.908, allocations: 1.019 MB / 1.045 GB, free: 4.539 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.9136, allocations: 1.698 MB / 1.047 GB, free: 2.836 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.9176, allocations: 1.187 MB / 1.048 GB, free: 1.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006175/0.9238, allocations: 4.247 MB / 1.052 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.9257, allocations: 0.9738 MB / 1.053 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.9284, allocations: 1.159 MB / 1.054 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.9303, allocations: 1.058 MB / 1.055 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.9306, allocations: 56 kB / 1.055 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.9335, allocations: 1.213 MB / 1.056 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.934, allocations: 486.2 kB / 1.057 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.9347, allocations: 416.5 kB / 1.057 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.9379, allocations: 2.537 MB / 1.06 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9379, allocations: 4 kB / 1.06 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9379, allocations: 0 / 1.06 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.938, allocations: 0 / 1.06 GB, free: 5.48 MB / 0.8106 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.00376/0.9417, allocations: 2.357 MB / 1.062 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9418, allocations: 11.97 kB / 1.062 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.942, allocations: 151.8 kB / 1.062 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.9425, allocations: 249 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.9454, allocations: 1.833 MB / 1.064 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.9455, allocations: 70 kB / 1.064 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.9456, allocations: 99.98 kB / 1.064 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.9473, allocations: 1.023 MB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.9473, allocations: 4 kB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.9474, allocations: 43.95 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.9474, allocations: 24 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.9486, allocations: 0.73 MB / 1.066 GB, free: 14.69 MB / 0.8262 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.005835/0.9545, allocations: 4.788 MB / 1.071 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.9552, allocations: 458.5 kB / 1.071 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.9557, allocations: 318.4 kB / 1.072 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.9564, allocations: 0.8199 MB / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/0.957, allocations: 417.8 kB / 1.073 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.957, allocations: 0 / 1.073 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67): time 0.00477/0.9618, allocations: 2.544 MB / 1.075 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.9619, allocations: 123.4 kB / 1.075 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.9654, allocations: 2.748 MB / 1.078 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.9655, allocations: 37.7 kB / 1.078 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/0.9663, allocations: 0.9111 MB / 1.079 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.9665, allocations: 212.9 kB / 1.079 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.9665, allocations: 16 kB / 1.079 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9666, allocations: 337.9 kB / 1.08 GB, free: 368 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.9671, allocations: 257.9 kB / 1.08 GB, free: 108 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.9676, allocations: 482.8 kB / 1.08 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.9682, allocations: 374.4 kB / 1.081 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9682, allocations: 0 / 1.081 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002089/0.9703, allocations: 1.113 MB / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.9705, allocations: 297.4 kB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9705, allocations: 8 kB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004482/0.971, allocations: 121.6 kB / 1.082 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.9714, allocations: 127.8 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.9733, allocations: 2.199 MB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.9745, allocations: 99.77 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.9746, allocations: 35.98 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.9746, allocations: 4 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/0.9761, allocations: 0.9651 MB / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9761, allocations: 4 kB / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/0.9764, allocations: 109.7 kB / 1.086 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.9769, allocations: 128.1 kB / 1.086 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.9785, allocations: 2.188 MB / 1.088 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9796, allocations: 83.92 kB / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.9797, allocations: 32 kB / 1.088 GB, free: 7.234 MB / 0.8419 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.001095/0.9808, allocations: 0.6837 MB / 1.089 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.9811, allocations: 205.4 kB / 1.089 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.9829, allocations: 1.175 MB / 1.09 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.983, allocations: 8 kB / 1.09 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.983, allocations: 4 kB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/0.9842, allocations: 0.9183 MB / 1.091 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.988, allocations: 2.546 MB / 1.093 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.988, allocations: 4 kB / 1.093 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.9885, allocations: 88.03 kB / 1.093 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003777/0.9889, allocations: 113.7 kB / 1.094 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.9889, allocations: 24 kB / 1.094 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.9906, allocations: 2.18 MB / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9906, allocations: 4 kB / 1.096 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.9929, allocations: 1.516 MB / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/0.9938, allocations: 438.4 kB / 1.098 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.994, allocations: 19.95 kB / 1.098 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.9947, allocations: 67.84 kB / 1.098 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.9948, allocations: 48.31 kB / 1.098 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.9949, allocations: 31.97 kB / 1.098 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002813/0.9977, allocations: 1.952 MB / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9977, allocations: 4 kB / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002575/1, allocations: 0.7929 MB / 1.1 GB, free: 9.965 MB / 0.8575 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.004032/1.004, allocations: 2.699 MB / 1.103 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002682/1.007, allocations: 1.695 MB / 1.105 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.007, allocations: 0 / 1.105 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/1.008, allocations: 0.6248 MB / 1.105 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.011, allocations: 0.6521 MB / 1.106 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.037, allocations: 13.33 MB / 1.119 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.039, allocations: 1.461 MB / 1.12 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001504/1.04, allocations: 349.5 kB / 1.121 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.041, allocations: 0.7492 MB / 1.121 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of SimCode: time 3.447e-06/1.042, allocations: 0 / 1.121 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0893/1.131, allocations: 49.94 MB / 1.17 GB, free: 2.027 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/1.131, allocations: 254.7 kB / 1.17 GB, free: 1.688 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/4.579, allocations: 0 / 1.17 GB, free: 1.688 MB / 0.92 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/linux/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) Environment - environmentSimulation: