Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2109/0.213, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7347/0.9478, allocations: 162.6 MB / 0.8293 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005643/0.9535, allocations: 2.789 MB / 0.8321 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.9545, allocations: 14.19 kB / 0.8321 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.9558, allocations: 277.4 kB / 0.8323 GB, free: 12.48 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002837/0.9587, allocations: 0.863 MB / 0.8332 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.9604, allocations: 439.9 kB / 0.8336 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.9625, allocations: 1.095 MB / 0.8347 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006461/0.9631, allocations: 290.1 kB / 0.835 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.9642, allocations: 406.1 kB / 0.8353 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.9656, allocations: 327.7 kB / 0.8357 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.9658, allocations: 37.97 kB / 0.8357 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.9677, allocations: 0.68 MB / 0.8364 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.9681, allocations: 160.8 kB / 0.8365 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005336/0.9687, allocations: 247.8 kB / 0.8367 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.9707, allocations: 0.8641 MB / 0.8376 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.9707, allocations: 3.984 kB / 0.8376 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9707, allocations: 0 / 0.8376 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.9707, allocations: 0 / 0.8376 GB, free: 9.035 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002137/0.9729, allocations: 0.8112 MB / 0.8384 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.973, allocations: 7.688 kB / 0.8384 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.9743, allocations: 159.5 kB / 0.8385 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.9753, allocations: 450.6 kB / 0.839 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.9753, allocations: 21.41 kB / 0.839 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.9754, allocations: 25.19 kB / 0.839 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.976, allocations: 310.8 kB / 0.8393 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.9761, allocations: 8.656 kB / 0.8393 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.9761, allocations: 14.91 kB / 0.8393 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.9761, allocations: 22.58 kB / 0.8394 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.9766, allocations: 199.8 kB / 0.8395 GB, free: 7.539 MB / 0.6075 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.002326/0.9789, allocations: 1.343 MB / 0.8409 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.9793, allocations: 212 kB / 0.8411 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.9795, allocations: 107.9 kB / 0.8412 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.9796, allocations: 6.875 kB / 0.8412 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.9799, allocations: 172 kB / 0.8413 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.9799, allocations: 3.938 kB / 0.8413 GB, free: 6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.003248/0.9832, allocations: 1.126 MB / 0.8424 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.9833, allocations: 60.44 kB / 0.8425 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.9838, allocations: 400 kB / 0.8429 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.9838, allocations: 32.39 kB / 0.8429 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.984, allocations: 214.8 kB / 0.8431 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.9842, allocations: 99.19 kB / 0.8432 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.9843, allocations: 66.78 kB / 0.8433 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9844, allocations: 346.6 kB / 0.8436 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.9847, allocations: 109.4 kB / 0.8437 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.9849, allocations: 170.4 kB / 0.8439 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.9854, allocations: 276.4 kB / 0.8441 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9854, allocations: 2.656 kB / 0.8441 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009273/0.9863, allocations: 435.1 kB / 0.8446 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.9863, allocations: 7.312 kB / 0.8446 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9863, allocations: 0 / 0.8446 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.9867, allocations: 87.77 kB / 0.8446 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.987, allocations: 61.81 kB / 0.8447 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.9892, allocations: 1.952 MB / 0.8466 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.9896, allocations: 12.88 kB / 0.8466 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.9896, allocations: 11.97 kB / 0.8466 GB, free: 1.738 MB / 0.6075 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.nextTimeEvent,$whenCondition1,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.9899, allocations: 194.6 kB / 0.8468 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.99, allocations: 42.59 kB / 0.8469 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.9901, allocations: 50.78 kB / 0.8469 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9901, allocations: 4.906 kB / 0.8469 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.9901, allocations: 0 / 0.8469 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9901, allocations: 3.984 kB / 0.8469 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.9919, allocations: 0.9983 MB / 0.8479 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.992, allocations: 3.938 kB / 0.8479 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.9923, allocations: 62.81 kB / 0.848 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.9927, allocations: 88.03 kB / 0.848 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.9927, allocations: 6.688 kB / 0.848 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.9942, allocations: 1.645 MB / 0.8497 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9942, allocations: 3.938 kB / 0.8497 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.9953, allocations: 0.574 MB / 0.8502 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.9955, allocations: 152.5 kB / 0.8504 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.9956, allocations: 10.84 kB / 0.8504 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.996, allocations: 12.58 kB / 0.8504 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.9961, allocations: 21.78 kB / 0.8504 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.9961, allocations: 11.78 kB / 0.8504 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000358/0.9965, allocations: 290.8 kB / 0.8507 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9965, allocations: 0 / 0.8507 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005989/0.9971, allocations: 121 kB / 0.8508 GB, free: 14.3 MB / 0.6231 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.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.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 (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.001386/0.9985, allocations: 431.5 kB / 0.8512 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.9997, allocations: 419.1 kB / 0.8516 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9997, allocations: 4.062 kB / 0.8516 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004234/1, allocations: 256.4 kB / 0.8519 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.001, allocations: 228.2 kB / 0.8521 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/1.004, allocations: 0.9609 MB / 0.853 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/1.004, allocations: 0.8403 MB / 0.8538 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004544/1.005, allocations: 73.97 kB / 0.8539 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/1.005, allocations: 36.86 kB / 0.8539 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of SimCode: time 1.903e-06/1.005, allocations: 0 / 0.8539 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.01709/1.022, allocations: 8.482 MB / 0.8622 GB, free: 5.293 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)