Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_10_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.0006963/0.0006962, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0007404/0.0007404, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.277/2.277, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.609, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05597/0.665, allocations: 56.43 MB / 1.078 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.684, allocations: 11.85 MB / 1.09 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.6863, allocations: 47.69 kB / 1.09 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.6893, allocations: 1.117 MB / 1.091 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.6947, allocations: 1.964 MB / 1.093 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.6984, allocations: 1.414 MB / 1.094 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005468/0.7038, allocations: 4.939 MB / 1.099 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.7053, allocations: 1.088 MB / 1.1 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.7072, allocations: 1.194 MB / 1.101 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.7085, allocations: 1.147 MB / 1.102 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.7087, allocations: 56 kB / 1.102 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.7118, allocations: 1.509 MB / 1.104 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.7123, allocations: 494 kB / 1.104 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009388/0.7132, allocations: 0.9881 MB / 1.105 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.7174, allocations: 3.298 MB / 1.109 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7174, allocations: 4 kB / 1.109 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7175, allocations: 0 / 1.109 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.094e-05/0.7175, allocations: 4 kB / 1.109 GB, free: 8.023 MB / 0.8575 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.00391/0.7214, allocations: 2.33 MB / 1.111 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.7215, allocations: 12.03 kB / 1.111 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.7217, allocations: 152 kB / 1.111 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.7221, allocations: 246 kB / 1.111 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.725, allocations: 1.914 MB / 1.113 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.7251, allocations: 78 kB / 1.113 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.7252, allocations: 92 kB / 1.113 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.7269, allocations: 1.023 MB / 1.114 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.727, allocations: 7.938 kB / 1.114 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.7271, allocations: 43.98 kB / 1.114 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.7271, allocations: 27.98 kB / 1.114 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.7283, allocations: 0.7339 MB / 1.115 GB, free: 1.172 MB / 0.8575 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.005905/0.7342, allocations: 4.784 MB / 1.12 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.735, allocations: 462.2 kB / 1.12 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.7354, allocations: 326.4 kB / 1.121 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.7361, allocations: 0.8239 MB / 1.121 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.7367, allocations: 417.8 kB / 1.122 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=65): time 2.425e-06/0.7367, allocations: 0 / 1.122 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67): time 0.00459/0.7413, allocations: 2.568 MB / 1.124 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.7414, allocations: 123.4 kB / 1.124 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.745, allocations: 2.752 MB / 1.127 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/0.7451, allocations: 41.7 kB / 1.127 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/0.746, allocations: 0.9072 MB / 1.128 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7462, allocations: 216.9 kB / 1.128 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.7463, allocations: 69.67 kB / 1.128 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7465, allocations: 342 kB / 1.129 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.7469, allocations: 265.8 kB / 1.129 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.7475, allocations: 482.3 kB / 1.129 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.7485, allocations: 0.8005 MB / 1.13 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7485, allocations: 4 kB / 1.13 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001794/0.7503, allocations: 1.129 MB / 1.131 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.7506, allocations: 284.1 kB / 1.131 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.7506, allocations: 4 kB / 1.131 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004795/0.7511, allocations: 125.6 kB / 1.132 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.7515, allocations: 127.8 kB / 1.132 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.7534, allocations: 2.195 MB / 1.134 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.7545, allocations: 91.83 kB / 1.134 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.7545, allocations: 43.92 kB / 1.134 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.7546, allocations: 4 kB / 1.134 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/0.756, allocations: 0.9649 MB / 1.135 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.756, allocations: 4.562 kB / 1.135 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.7563, allocations: 117.8 kB / 1.135 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.7568, allocations: 131.8 kB / 1.135 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.7585, allocations: 2.184 MB / 1.137 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.7595, allocations: 87.84 kB / 1.137 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.7596, allocations: 39.98 kB / 1.137 GB, free: 9.07 MB / 0.8887 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.001055/0.7607, allocations: 0.687 MB / 1.138 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.7609, allocations: 205.5 kB / 1.138 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.7627, allocations: 1.179 MB / 1.139 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.7627, allocations: 4 kB / 1.139 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7628, allocations: 8 kB / 1.139 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.764, allocations: 0.9184 MB / 1.14 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.7675, allocations: 2.579 MB / 1.143 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.7676, allocations: 8.125 kB / 1.143 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.768, allocations: 83.83 kB / 1.143 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003715/0.7683, allocations: 109.6 kB / 1.143 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.7684, allocations: 28.14 kB / 1.143 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.7702, allocations: 2.18 MB / 1.145 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.7702, allocations: 7.969 kB / 1.145 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.7726, allocations: 1.522 MB / 1.147 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.7736, allocations: 446.2 kB / 1.147 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/0.7741, allocations: 16 kB / 1.147 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7751, allocations: 79.91 kB / 1.147 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.7752, allocations: 44.39 kB / 1.147 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.7753, allocations: 35.91 kB / 1.147 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003107/0.7784, allocations: 2.02 MB / 1.149 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7784, allocations: 0 / 1.149 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002739/0.7812, allocations: 0.8045 MB / 1.15 GB, free: 11.66 MB / 0.9044 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.004519/0.7857, allocations: 2.728 MB / 1.153 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003067/0.7888, allocations: 1.719 MB / 1.154 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7888, allocations: 0 / 1.154 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.7897, allocations: 0.6249 MB / 1.155 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/0.7954, allocations: 0.7637 MB / 1.156 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/0.8316, allocations: 20.39 MB / 1.176 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.833, allocations: 1.454 MB / 1.177 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00156/0.8346, allocations: 370.2 kB / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.8357, allocations: 0.7648 MB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of SimCode: time 1.232e-06/0.8357, allocations: 3.938 kB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.555/3.391, allocations: 53.44 MB / 1.23 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/3.391, allocations: 264.8 kB / 1.231 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/7.801, allocations: 4 kB / 1.231 GB, free: 8.051 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Boilers_Examples_BoilerTable_fmu --startTime=0 --stopTime=6000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Boilers_Examples_BoilerTable.fmu > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)