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.218/0.2203, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6702/0.8905, allocations: 162.6 MB / 0.8293 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005823/0.8965, allocations: 2.794 MB / 0.8321 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008258/0.8974, allocations: 16.72 kB / 0.8321 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009837/0.8984, allocations: 272.2 kB / 0.8323 GB, free: 12.47 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.002422/0.9008, allocations: 0.8295 MB / 0.8332 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.902, allocations: 440.4 kB / 0.8336 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.9034, allocations: 1.086 MB / 0.8346 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.9039, allocations: 305.5 kB / 0.8349 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.9045, allocations: 390.6 kB / 0.8353 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008717/0.9054, allocations: 326.2 kB / 0.8356 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.9055, allocations: 37.91 kB / 0.8356 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.9068, allocations: 0.6803 MB / 0.8363 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.907, allocations: 164.1 kB / 0.8365 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.9073, allocations: 248.8 kB / 0.8367 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.9085, allocations: 0.8608 MB / 0.8375 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9085, allocations: 2.625 kB / 0.8375 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9085, allocations: 0 / 0.8375 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.495e-06/0.9085, allocations: 0 / 0.8375 GB, free: 9.051 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.001363/0.9099, allocations: 0.8111 MB / 0.8383 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9099, allocations: 10.69 kB / 0.8383 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.911, allocations: 152.8 kB / 0.8385 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.9117, allocations: 453.6 kB / 0.8389 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.9118, allocations: 24.83 kB / 0.839 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.9118, allocations: 28.22 kB / 0.839 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.9124, allocations: 308.3 kB / 0.8393 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.9124, allocations: 3.906 kB / 0.8393 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.9124, allocations: 18.34 kB / 0.8393 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.9125, allocations: 14.44 kB / 0.8393 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.9128, allocations: 207.9 kB / 0.8395 GB, free: 7.555 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.001851/0.9147, allocations: 1.343 MB / 0.8408 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.9151, allocations: 214.8 kB / 0.841 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.9153, allocations: 110.1 kB / 0.8411 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.9153, allocations: 2.25 kB / 0.8411 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.9157, allocations: 171 kB / 0.8413 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/0.9157, allocations: 0 / 0.8413 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.002971/0.9187, allocations: 1.128 MB / 0.8424 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.9187, allocations: 53.59 kB / 0.8424 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.9192, allocations: 400.6 kB / 0.8428 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.9193, allocations: 38.05 kB / 0.8429 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.9195, allocations: 209 kB / 0.8431 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.9196, allocations: 113.2 kB / 0.8432 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.9197, allocations: 60.91 kB / 0.8432 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.92, allocations: 352.9 kB / 0.8436 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.9202, allocations: 102.5 kB / 0.8437 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.9204, allocations: 166.7 kB / 0.8438 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.9209, allocations: 277.1 kB / 0.8441 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9209, allocations: 2.562 kB / 0.8441 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008946/0.9218, allocations: 445.3 kB / 0.8445 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.9218, allocations: 5.125 kB / 0.8445 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9218, allocations: 0 / 0.8445 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.9222, allocations: 91.98 kB / 0.8446 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.9225, allocations: 56.88 kB / 0.8447 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.9246, allocations: 1.948 MB / 0.8466 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.9249, allocations: 9.281 kB / 0.8466 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.9249, allocations: 11.69 kB / 0.8466 GB, free: 1.758 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.0002437/0.9252, allocations: 188.7 kB / 0.8468 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.9253, allocations: 45.81 kB / 0.8468 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.9254, allocations: 50.53 kB / 0.8469 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9254, allocations: 2.844 kB / 0.8469 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9254, allocations: 7.219 kB / 0.8469 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9254, allocations: 0 / 0.8469 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.9271, allocations: 0.9941 MB / 0.8478 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9271, allocations: 7.922 kB / 0.8478 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.9275, allocations: 67.25 kB / 0.8479 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.9278, allocations: 79.84 kB / 0.848 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.9279, allocations: 6.469 kB / 0.848 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.9293, allocations: 1.65 MB / 0.8496 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9293, allocations: 4.062 kB / 0.8496 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.9303, allocations: 0.5776 MB / 0.8502 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.9306, allocations: 152.3 kB / 0.8503 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.9307, allocations: 15.12 kB / 0.8503 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.931, allocations: 13.11 kB / 0.8503 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.9311, allocations: 22 kB / 0.8504 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.9311, allocations: 11.34 kB / 0.8504 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003107/0.9314, allocations: 287.7 kB / 0.8506 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9314, allocations: 0 / 0.8506 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005424/0.932, allocations: 115.7 kB / 0.8508 GB, free: 14.32 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.00104/0.933, allocations: 436.7 kB / 0.8512 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009818/0.934, allocations: 418.7 kB / 0.8516 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.934, allocations: 0 / 0.8516 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.9344, allocations: 252.6 kB / 0.8518 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.9355, allocations: 231.7 kB / 0.852 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.9373, allocations: 0.9676 MB / 0.853 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.9377, allocations: 0.8304 MB / 0.8538 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.938, allocations: 82.28 kB / 0.8539 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.9381, allocations: 36.58 kB / 0.8539 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.9381, allocations: 0 / 0.8539 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.01586/0.954, allocations: 8.634 MB / 0.8623 GB, free: 5.148 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)