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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008617/0.0008618, allocations: 97.64 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.006057/0.006057, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6532, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05815/0.7114, allocations: 56.42 MB / 1.01 GB, free: 6.727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.7288, allocations: 11.86 MB / 1.022 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.7317, allocations: 51.69 kB / 1.022 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.7351, allocations: 1.101 MB / 1.023 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005439/0.7405, allocations: 1.969 MB / 1.025 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.7444, allocations: 1.42 MB / 1.026 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00669/0.7511, allocations: 4.941 MB / 1.031 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.7528, allocations: 1.096 MB / 1.032 GB, free: 232 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.7553, allocations: 1.194 MB / 1.033 GB, free: 15.03 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.7568, allocations: 1.136 MB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.7569, allocations: 60 kB / 1.035 GB, free: 13.83 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.7603, allocations: 1.517 MB / 1.036 GB, free: 12.31 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005163/0.7608, allocations: 498 kB / 1.036 GB, free: 11.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.7618, allocations: 0.9803 MB / 1.037 GB, free: 10.83 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004251/0.7661, allocations: 3.302 MB / 1.041 GB, free: 7.516 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7661, allocations: 0 / 1.041 GB, free: 7.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7661, allocations: 0 / 1.041 GB, free: 7.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.7662, allocations: 0 / 1.041 GB, free: 7.516 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.003561/0.7697, allocations: 2.334 MB / 1.043 GB, free: 5.094 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7698, allocations: 12.03 kB / 1.043 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.77, allocations: 140 kB / 1.043 GB, free: 4.938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.7704, allocations: 258 kB / 1.043 GB, free: 4.684 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.773, allocations: 1.914 MB / 1.045 GB, free: 2.699 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.7731, allocations: 70 kB / 1.045 GB, free: 2.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.7732, allocations: 104 kB / 1.045 GB, free: 2.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.7749, allocations: 1.023 MB / 1.046 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.7749, allocations: 0 / 1.046 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.775, allocations: 43.94 kB / 1.046 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.775, allocations: 24 kB / 1.046 GB, free: 1.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7762, allocations: 0.7416 MB / 1.047 GB, free: 0.6562 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.005716/0.7819, allocations: 4.788 MB / 1.052 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.7827, allocations: 465 kB / 1.052 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.7832, allocations: 326.4 kB / 1.053 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.7838, allocations: 0.8238 MB / 1.053 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.7845, allocations: 413.9 kB / 1.054 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=65): time 2.434e-06/0.7845, allocations: 0 / 1.054 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.004733/0.7892, allocations: 2.556 MB / 1.056 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.7893, allocations: 123.9 kB / 1.056 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/0.793, allocations: 2.752 MB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/0.7931, allocations: 45.7 kB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000802/0.7939, allocations: 0.911 MB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.7941, allocations: 220.8 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7942, allocations: 65.69 kB / 1.06 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7943, allocations: 337.9 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.7948, allocations: 261.9 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.7954, allocations: 486.4 kB / 1.061 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.7964, allocations: 0.8004 MB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7964, allocations: 0 / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001853/0.7983, allocations: 1.136 MB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.7985, allocations: 292.6 kB / 1.063 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7985, allocations: 4 kB / 1.063 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.799, allocations: 113.6 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.7995, allocations: 127.8 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.8016, allocations: 2.203 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.8027, allocations: 89.66 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.473e-05/0.8028, allocations: 43.92 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.8028, allocations: 4 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.8043, allocations: 0.9649 MB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8043, allocations: 7.938 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.8046, allocations: 114.2 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.8051, allocations: 131.9 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.8071, allocations: 2.184 MB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8082, allocations: 83.89 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.8083, allocations: 39.98 kB / 1.069 GB, free: 8.555 MB / 0.8262 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.001208/0.8095, allocations: 0.6776 MB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.8098, allocations: 209.5 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.8119, allocations: 1.171 MB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.8119, allocations: 15.92 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8119, allocations: 0 / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/0.8132, allocations: 0.9223 MB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.8171, allocations: 2.568 MB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8171, allocations: 8.031 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.8175, allocations: 88 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003886/0.8179, allocations: 125.8 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.818, allocations: 19.94 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.8197, allocations: 2.188 MB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8197, allocations: 0 / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.822, allocations: 1.522 MB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/0.8228, allocations: 454.2 kB / 1.079 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.8233, allocations: 16 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/0.8242, allocations: 71.88 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8244, allocations: 44.38 kB / 1.079 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.8244, allocations: 35.91 kB / 1.079 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003068/0.8275, allocations: 2.02 MB / 1.081 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8275, allocations: 0 / 1.081 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002557/0.8301, allocations: 0.8006 MB / 1.082 GB, free: 11.16 MB / 0.8419 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.004502/0.8346, allocations: 2.726 MB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.8373, allocations: 1.715 MB / 1.086 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8373, allocations: 0.5 kB / 1.086 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.8381, allocations: 0.6249 MB / 1.087 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/0.843, allocations: 0.775 MB / 1.088 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/0.8772, allocations: 20.38 MB / 1.108 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.8786, allocations: 1.462 MB / 1.109 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001538/0.8801, allocations: 366.2 kB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.8812, allocations: 0.7687 MB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of SimCode: time 1.072e-06/0.8813, allocations: 0 / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3982/1.279, allocations: 53.44 MB / 1.162 GB, free: 7.879 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/1.28, allocations: 271.4 kB / 1.163 GB, free: 7.516 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/4.612, allocations: 0 / 1.163 GB, free: 7.516 MB / 0.92 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/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)