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.219/0.2211, allocations: 80.83 MB / 0.6706 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7309/0.9521, allocations: 162.6 MB / 0.8293 GB, free: 140 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005476/0.9576, allocations: 2.786 MB / 0.8321 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.9583, allocations: 19.94 kB / 0.8321 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.9594, allocations: 282.5 kB / 0.8324 GB, free: 13.05 MB / 0.6387 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.002431/0.9618, allocations: 0.8204 MB / 0.8332 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.9631, allocations: 446.7 kB / 0.8336 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.9647, allocations: 1.08 MB / 0.8346 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.9652, allocations: 306.1 kB / 0.8349 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.9659, allocations: 382.5 kB / 0.8353 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009723/0.9669, allocations: 331.6 kB / 0.8356 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.967, allocations: 36 kB / 0.8356 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.9685, allocations: 0.6704 MB / 0.8363 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.9687, allocations: 155.5 kB / 0.8364 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.969, allocations: 254.7 kB / 0.8367 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.9704, allocations: 0.8709 MB / 0.8375 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9704, allocations: 0 / 0.8375 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9704, allocations: 0 / 0.8375 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.9704, allocations: 0 / 0.8375 GB, free: 7.723 MB / 0.6387 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.001356/0.9718, allocations: 0.8323 MB / 0.8384 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.9719, allocations: 12.03 kB / 0.8384 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.9729, allocations: 155.5 kB / 0.8385 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.9736, allocations: 457.5 kB / 0.8389 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.9736, allocations: 20.56 kB / 0.839 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.9737, allocations: 24 kB / 0.839 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.9742, allocations: 319.6 kB / 0.8393 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.9743, allocations: 3.938 kB / 0.8393 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.9743, allocations: 13.06 kB / 0.8393 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.9743, allocations: 12.5 kB / 0.8393 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.9748, allocations: 206.1 kB / 0.8395 GB, free: 5.594 MB / 0.6387 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.001807/0.9766, allocations: 1.337 MB / 0.8408 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.977, allocations: 219.1 kB / 0.841 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.9772, allocations: 108.8 kB / 0.8411 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.9773, allocations: 4 kB / 0.8411 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.9776, allocations: 175.5 kB / 0.8413 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.9776, allocations: 0 / 0.8413 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30): time 0.002872/0.9805, allocations: 1.147 MB / 0.8424 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.9805, allocations: 51.41 kB / 0.8425 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.981, allocations: 401.6 kB / 0.8429 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.981, allocations: 33.7 kB / 0.8429 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.9812, allocations: 220.6 kB / 0.8431 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.9813, allocations: 107.1 kB / 0.8432 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.9814, allocations: 66.03 kB / 0.8433 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.9816, allocations: 350.8 kB / 0.8436 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.9818, allocations: 105.7 kB / 0.8437 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.982, allocations: 169.1 kB / 0.8439 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.9825, allocations: 278.8 kB / 0.8441 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9825, allocations: 0 / 0.8441 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000832/0.9833, allocations: 437.7 kB / 0.8446 GB, free: 144 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9834, allocations: 8 kB / 0.8446 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.9834, allocations: 0 / 0.8446 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.9837, allocations: 93.8 kB / 0.8446 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.984, allocations: 60.02 kB / 0.8447 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.986, allocations: 1.945 MB / 0.8466 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.9863, allocations: 12.03 kB / 0.8466 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.9863, allocations: 8 kB / 0.8466 GB, free: 13.88 MB / 0.6544 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.0002114/0.9865, allocations: 189.7 kB / 0.8468 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.9866, allocations: 43.72 kB / 0.8468 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.9867, allocations: 52.38 kB / 0.8469 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9867, allocations: 4 kB / 0.8469 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9867, allocations: 0 / 0.8469 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9868, allocations: 8.047 kB / 0.8469 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.9883, allocations: 0.9921 MB / 0.8479 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.9883, allocations: 3.938 kB / 0.8479 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.9887, allocations: 63.97 kB / 0.8479 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.989, allocations: 88.75 kB / 0.848 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.989, allocations: 11.98 kB / 0.848 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.9904, allocations: 1.645 MB / 0.8496 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9904, allocations: 11.95 kB / 0.8497 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/0.9914, allocations: 0.5719 MB / 0.8502 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.9915, allocations: 148.8 kB / 0.8504 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.9916, allocations: 12 kB / 0.8504 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.9919, allocations: 15.98 kB / 0.8504 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.992, allocations: 27.91 kB / 0.8504 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.9921, allocations: 11.98 kB / 0.8504 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003083/0.9924, allocations: 279.2 kB / 0.8507 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9924, allocations: 7.938 kB / 0.8507 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005/0.9929, allocations: 119.9 kB / 0.8508 GB, free: 9.34 MB / 0.6544 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.001021/0.9939, allocations: 426.6 kB / 0.8512 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008972/0.9948, allocations: 434.5 kB / 0.8516 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9948, allocations: 0 / 0.8516 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.9952, allocations: 251 kB / 0.8519 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.9962, allocations: 215.9 kB / 0.8521 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.9978, allocations: 0.9912 MB / 0.853 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.9983, allocations: 0.8309 MB / 0.8539 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.9986, allocations: 75.36 kB / 0.8539 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.9987, allocations: 35.44 kB / 0.854 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.9987, allocations: 4 kB / 0.854 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of Templates: time 0.01531/1.014, allocations: 8.484 MB / 0.8622 GB, free: 13.8 MB / 0.67 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)