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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.39 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.001212/0.001212, 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 1.522/1.522, 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 1.844/1.844, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0006448/0.0006449, allocations: 14 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2991, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7187/1.018, allocations: 136.8 MB / 0.9207 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004741/1.023, allocations: 3.242 MB / 0.9238 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005885/1.023, allocations: 14.38 kB / 0.9239 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009288/1.024, allocations: 284.2 kB / 0.9241 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002246/1.026, allocations: 0.7884 MB / 0.9249 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/1.028, allocations: 0.5017 MB / 0.9254 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001109/1.029, allocations: 0.6456 MB / 0.926 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/1.03, allocations: 247.7 kB / 0.9263 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/1.03, allocations: 310.4 kB / 0.9266 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/1.031, allocations: 237.8 kB / 0.9268 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/1.031, allocations: 13.22 kB / 0.9268 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009571/1.032, allocations: 320.7 kB / 0.9271 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/1.032, allocations: 129 kB / 0.9272 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/1.032, allocations: 122.5 kB / 0.9273 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008727/1.033, allocations: 0.6121 MB / 0.9279 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/1.033, allocations: 0 / 0.9279 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/1.033, allocations: 0 / 0.9279 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.033, allocations: 0 / 0.9279 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.001319/1.034, allocations: 0.7641 MB / 0.9287 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.034, allocations: 8.031 kB / 0.9287 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.035, allocations: 149.7 kB / 0.9288 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/1.036, allocations: 477.9 kB / 0.9293 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/1.036, allocations: 25.41 kB / 0.9293 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/1.036, allocations: 31.2 kB / 0.9293 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/1.037, allocations: 313.4 kB / 0.9296 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.037, allocations: 0 / 0.9296 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.037, allocations: 10.75 kB / 0.9297 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/1.037, allocations: 11.45 kB / 0.9297 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/1.037, allocations: 217.9 kB / 0.9299 GB, free: 20.63 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.001991/1.039, allocations: 1.416 MB / 0.9313 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/1.04, allocations: 219.5 kB / 0.9315 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/1.04, allocations: 7.188 kB / 0.9315 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/1.04, allocations: 164.5 kB / 0.9316 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/1.04, allocations: 0 / 0.9316 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.00283/1.043, allocations: 1.157 MB / 0.9328 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.043, allocations: 57.62 kB / 0.9328 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/1.044, allocations: 454.5 kB / 0.9332 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/1.044, allocations: 32.23 kB / 0.9333 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.044, allocations: 237.1 kB / 0.9335 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/1.044, allocations: 111.8 kB / 0.9336 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/1.044, allocations: 3.938 kB / 0.9336 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.044, allocations: 361.6 kB / 0.934 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/1.044, allocations: 130.9 kB / 0.9341 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/1.045, allocations: 193.5 kB / 0.9343 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/1.045, allocations: 163.1 kB / 0.9344 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.045, allocations: 2.516 kB / 0.9344 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001108/1.046, allocations: 494.1 kB / 0.9349 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.046, allocations: 10.05 kB / 0.9349 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.046, allocations: 2.344 kB / 0.9349 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/1.046, allocations: 79.27 kB / 0.935 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/1.047, allocations: 68.36 kB / 0.935 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/1.049, allocations: 1.761 MB / 0.9368 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/1.049, allocations: 28.89 kB / 0.9368 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/1.049, allocations: 15.47 kB / 0.9368 GB, free: 17.15 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.0002604/1.049, allocations: 197.2 kB / 0.937 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/1.049, allocations: 50.67 kB / 0.937 GB, free: 17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/1.05, allocations: 54.73 kB / 0.9371 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.05, allocations: 8.438 kB / 0.9371 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/1.05, allocations: 1.906 kB / 0.9371 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.05, allocations: 2.109 kB / 0.9371 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/1.051, allocations: 1.015 MB / 0.9381 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.051, allocations: 4.031 kB / 0.9381 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/1.052, allocations: 70.98 kB / 0.9382 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/1.052, allocations: 72.72 kB / 0.9382 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/1.052, allocations: 9.359 kB / 0.9383 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/1.054, allocations: 1.571 MB / 0.9398 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.054, allocations: 5.453 kB / 0.9398 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.055, allocations: 0.5998 MB / 0.9404 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.055, allocations: 156.1 kB / 0.9405 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/1.055, allocations: 8.719 kB / 0.9405 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/1.055, allocations: 20.44 kB / 0.9406 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/1.056, allocations: 21.81 kB / 0.9406 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/1.056, allocations: 15.2 kB / 0.9406 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004685/1.056, allocations: 300.2 kB / 0.9409 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.056, allocations: 0 / 0.9409 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007116/1.057, allocations: 131 kB / 0.941 GB, free: 14.98 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.001051/1.058, allocations: 429.9 kB / 0.9414 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009365/1.059, allocations: 438.5 kB / 0.9418 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.059, allocations: 0.5312 kB / 0.9418 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/1.059, allocations: 251.3 kB / 0.9421 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.06, allocations: 228.3 kB / 0.9423 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.062, allocations: 1.267 MB / 0.9435 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/1.063, allocations: 0.86 MB / 0.9444 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003698/1.063, allocations: 86.38 kB / 0.9444 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.063, allocations: 40.5 kB / 0.9445 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 1.472e-06/1.063, allocations: 0 / 0.9445 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.0175/1.081, allocations: 8.378 MB / 0.9527 GB, free: 12.58 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: