Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",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.00191/0.00191, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 61.91 kB / 0.9086 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2932, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1655/0.4587, allocations: 162.9 MB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004659/0.4634, allocations: 3.49 MB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.4637, allocations: 19.88 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.4643, allocations: 274.5 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.4659, allocations: 0.8594 MB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.4667, allocations: 478.5 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.4678, allocations: 1.091 MB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.4682, allocations: 320.2 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.4687, allocations: 410.3 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007579/0.4695, allocations: 357 kB / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.4696, allocations: 40 kB / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/0.4706, allocations: 0.686 MB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.4707, allocations: 171.5 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.471, allocations: 274.6 kB / 1.231 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.472, allocations: 0.9193 MB / 1.232 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4721, allocations: 0 / 1.232 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4721, allocations: 0 / 1.232 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4721, allocations: 0 / 1.232 GB, free: 1.273 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001262/0.4733, allocations: 0.8679 MB / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4734, allocations: 12.03 kB / 1.233 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.754e-05/0.4735, allocations: 70.47 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/0.4744, allocations: 155.2 kB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.475, allocations: 492.9 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.4751, allocations: 20.56 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.4751, allocations: 28 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.4756, allocations: 323.6 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4757, allocations: 4 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.4757, allocations: 8 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.4757, allocations: 16.56 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.4761, allocations: 226 kB / 1.234 GB, free: 14.97 MB / 0.9981 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.001813/0.4779, allocations: 1.418 MB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.4783, allocations: 214.1 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.4785, allocations: 116.8 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4785, allocations: 0 / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.4788, allocations: 175.5 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.4788, allocations: 3.938 kB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002627/0.4815, allocations: 1.085 MB / 1.237 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4815, allocations: 59.28 kB / 1.237 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.482, allocations: 465.9 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.4821, allocations: 33.7 kB / 1.238 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.4823, allocations: 236.2 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.4824, allocations: 102.5 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4825, allocations: 78.06 kB / 1.238 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4827, allocations: 358.8 kB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4829, allocations: 120.7 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4832, allocations: 182.7 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.4837, allocations: 311.8 kB / 1.239 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4837, allocations: 0 / 1.239 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009447/0.4846, allocations: 489.9 kB / 1.24 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4847, allocations: 4 kB / 1.24 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4847, allocations: 4 kB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.485, allocations: 88.86 kB / 1.24 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.4853, allocations: 67.91 kB / 1.24 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.4871, allocations: 1.908 MB / 1.242 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.4874, allocations: 8.031 kB / 1.242 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.4874, allocations: 16 kB / 1.242 GB, free: 7.055 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.4876, allocations: 195.3 kB / 1.242 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.4877, allocations: 43.53 kB / 1.242 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.4878, allocations: 56.61 kB / 1.242 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4878, allocations: 4 kB / 1.242 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4879, allocations: 0 / 1.242 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4879, allocations: 0 / 1.242 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.4894, allocations: 0.9718 MB / 1.243 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4894, allocations: 4 kB / 1.243 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.4897, allocations: 71.83 kB / 1.243 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.49, allocations: 72.8 kB / 1.243 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.49, allocations: 15.92 kB / 1.243 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.4915, allocations: 1.653 MB / 1.245 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4915, allocations: 0 / 1.245 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.4925, allocations: 0.5666 MB / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.4926, allocations: 152.5 kB / 1.245 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.4927, allocations: 12 kB / 1.245 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.493, allocations: 11.94 kB / 1.245 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.4931, allocations: 19.97 kB / 1.245 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.4931, allocations: 11.98 kB / 1.245 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003329/0.4934, allocations: 315.1 kB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4934, allocations: 0 / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000472/0.4939, allocations: 124 kB / 1.246 GB, free: 2.527 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002578/0.4965, allocations: 1.442 MB / 1.247 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007086/0.4972, allocations: 438.4 kB / 1.248 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4972, allocations: 4 kB / 1.248 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.4976, allocations: 250.6 kB / 1.248 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4986, allocations: 247.8 kB / 1.248 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3907/0.8893, allocations: 4.168 MB / 1.252 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.8896, allocations: 0.8513 MB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003618/0.8899, allocations: 82.3 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.8901, allocations: 151.8 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.8901, allocations: 0 / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.374/3.264, allocations: 12.77 MB / 1.266 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/18.01, allocations: 10.12 kB / 1.266 GB, free: 184.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)