Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_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.001656/0.001657, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002511/0.002511, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.433/3.433, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.067/3.067, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009832/0.0009834, allocations: 12.69 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.5002, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 1.538/2.038, allocations: 136.8 MB / 0.9208 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01005/2.048, allocations: 3.243 MB / 0.924 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/2.05, allocations: 11.69 kB / 0.924 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/2.052, allocations: 279.2 kB / 0.9243 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006959/2.059, allocations: 0.7914 MB / 0.925 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004196/2.064, allocations: 0.5073 MB / 0.9255 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003085/2.067, allocations: 0.6383 MB / 0.9261 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000821/2.068, allocations: 244.3 kB / 0.9264 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/2.069, allocations: 322.2 kB / 0.9267 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007155/2.07, allocations: 232.1 kB / 0.9269 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/2.07, allocations: 18.03 kB / 0.9269 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/2.072, allocations: 321.8 kB / 0.9272 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/2.072, allocations: 126.5 kB / 0.9273 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007723/2.073, allocations: 122.3 kB / 0.9275 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/2.074, allocations: 0.6088 MB / 0.9281 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/2.074, allocations: 3.938 kB / 0.9281 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.056e-06/2.074, allocations: 4 kB / 0.9281 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.456e-06/2.074, allocations: 0 / 0.9281 GB, free: 21.52 MB / 0.7325 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.001928/2.076, allocations: 0.7568 MB / 0.9288 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/2.076, allocations: 14.03 kB / 0.9288 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/2.077, allocations: 63.84 kB / 0.9289 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/2.078, allocations: 153.7 kB / 0.929 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/2.079, allocations: 469.9 kB / 0.9295 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/2.079, allocations: 28.08 kB / 0.9295 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/2.079, allocations: 29.31 kB / 0.9295 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/2.08, allocations: 314.1 kB / 0.9298 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/2.08, allocations: 6.219 kB / 0.9298 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/2.08, allocations: 9.75 kB / 0.9298 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/2.08, allocations: 9.844 kB / 0.9299 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/2.08, allocations: 219 kB / 0.9301 GB, free: 20.59 MB / 0.7325 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.002725/2.083, allocations: 1.417 MB / 0.9314 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/2.084, allocations: 223.7 kB / 0.9317 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/2.084, allocations: 3.75 kB / 0.9317 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/2.084, allocations: 158.1 kB / 0.9318 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 5.199e-06/2.084, allocations: 0 / 0.9318 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.005528/2.09, allocations: 1.158 MB / 0.9329 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/2.09, allocations: 54.47 kB / 0.933 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/2.091, allocations: 453.4 kB / 0.9334 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.122e-05/2.091, allocations: 32.95 kB / 0.9335 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/2.092, allocations: 238.6 kB / 0.9337 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/2.092, allocations: 104.2 kB / 0.9338 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/2.092, allocations: 11.12 kB / 0.9338 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002694/2.092, allocations: 353.8 kB / 0.9341 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/2.093, allocations: 133.5 kB / 0.9343 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/2.093, allocations: 195.2 kB / 0.9345 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/2.094, allocations: 161.9 kB / 0.9346 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/2.094, allocations: 0 / 0.9346 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002097/2.096, allocations: 498.4 kB / 0.9351 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/2.096, allocations: 10.84 kB / 0.9351 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/2.096, allocations: 1.625 kB / 0.9351 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/2.097, allocations: 81.86 kB / 0.9352 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/2.097, allocations: 68.38 kB / 0.9352 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/2.101, allocations: 1.762 MB / 0.937 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/2.102, allocations: 31.58 kB / 0.937 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/2.102, allocations: 14.5 kB / 0.937 GB, free: 17.11 MB / 0.7325 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007546/2.103, allocations: 192.8 kB / 0.9372 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/2.103, allocations: 52.58 kB / 0.9372 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/2.103, allocations: 62.22 kB / 0.9373 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/2.103, allocations: 8.25 kB / 0.9373 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/2.103, allocations: 0 / 0.9373 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/2.103, allocations: 3.016 kB / 0.9373 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/2.107, allocations: 1.016 MB / 0.9383 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/2.107, allocations: 5.094 kB / 0.9383 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/2.107, allocations: 69.77 kB / 0.9384 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/2.108, allocations: 73.8 kB / 0.9384 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/2.108, allocations: 9.016 kB / 0.9384 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/2.111, allocations: 1.569 MB / 0.94 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/2.111, allocations: 4.953 kB / 0.94 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/2.113, allocations: 0.6002 MB / 0.9406 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/2.113, allocations: 154 kB / 0.9407 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/2.114, allocations: 11.55 kB / 0.9407 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/2.114, allocations: 19.45 kB / 0.9407 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/2.114, allocations: 21.2 kB / 0.9408 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/2.114, allocations: 15.5 kB / 0.9408 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000997/2.115, allocations: 302.9 kB / 0.9411 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/2.115, allocations: 0 / 0.9411 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001656/2.117, allocations: 127 kB / 0.9412 GB, free: 14.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003687/2.121, allocations: 1.532 MB / 0.9427 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001287/2.122, allocations: 439 kB / 0.9431 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.122, allocations: 5.625 kB / 0.9431 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/2.123, allocations: 252 kB / 0.9434 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/2.124, allocations: 221.6 kB / 0.9436 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/2.129, allocations: 2.362 MB / 0.9459 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/2.13, allocations: 0.8615 MB / 0.9467 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006589/2.13, allocations: 86.48 kB / 0.9468 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/2.131, allocations: 162.6 kB / 0.9469 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.405e-06/2.131, allocations: 4 kB / 0.947 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0624/2.193, allocations: 12.58 MB / 0.9592 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006658/2.194, allocations: 238.3 kB / 0.9595 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/5.732, allocations: 0 / 0.9595 GB, free: 9.09 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: