Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2") [/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.1869/0.1877, allocations: 82.22 MB / 0.5934 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.5372/0.725, allocations: 171.9 MB / 0.7612 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02609/0.7511, allocations: 16 MB / 0.7768 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.7536, allocations: 61.97 kB / 0.7769 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.7576, allocations: 1.071 MB / 0.7779 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007629/0.7653, allocations: 2.701 MB / 0.7806 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.7727, allocations: 2.74 MB / 0.7833 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007345/0.78, allocations: 5.43 MB / 0.7886 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/0.7833, allocations: 2.622 MB / 0.7911 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.7877, allocations: 2.317 MB / 0.7934 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003433/0.7911, allocations: 1.848 MB / 0.7952 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.7916, allocations: 139.4 kB / 0.7953 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/0.7971, allocations: 1.592 MB / 0.7969 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.7982, allocations: 0.7687 MB / 0.7976 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.7996, allocations: 0.7215 MB / 0.7983 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006788/0.8064, allocations: 4.896 MB / 0.8031 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.8064, allocations: 0 / 0.8031 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8064, allocations: 0 / 0.8031 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.515e-05/0.8065, allocations: 0 / 0.8031 GB, free: 9.242 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.006945/0.8135, allocations: 3.575 MB / 0.8066 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.8135, allocations: 12.02 kB / 0.8066 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/0.8187, allocations: 0.9304 MB / 0.8075 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007243/0.826, allocations: 3.16 MB / 0.8106 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.8261, allocations: 180.4 kB / 0.8108 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/0.8266, allocations: 247.8 kB / 0.811 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/0.8313, allocations: 3.13 MB / 0.8141 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/0.8314, allocations: 7.938 kB / 0.8141 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.8316, allocations: 95.98 kB / 0.8142 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-05/0.8317, allocations: 104.9 kB / 0.8143 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.8359, allocations: 2.569 MB / 0.8168 GB, free: 10.86 MB / 0.5762 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.02001/0.8559, allocations: 13.83 MB / 0.8303 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.8589, allocations: 2.027 MB / 0.8323 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.8692, allocations: 4.197 MB / 0.8364 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/0.871, allocations: 1.041 MB / 0.8374 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/0.8721, allocations: 170.1 kB / 0.8375 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 4.469e-06/0.8721, allocations: 0 / 0.8375 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=163): time 0.01604/0.8882, allocations: 6.905 MB / 0.8443 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/0.8884, allocations: 278.3 kB / 0.8446 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/0.8927, allocations: 2.825 MB / 0.8473 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005449/0.8933, allocations: 61.7 kB / 0.8474 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.8947, allocations: 1.399 MB / 0.8487 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/0.8954, allocations: 0.5661 MB / 0.8493 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.8956, allocations: 40 kB / 0.8493 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.8958, allocations: 402.3 kB / 0.8497 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.8981, allocations: 1.152 MB / 0.8508 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/0.9012, allocations: 1.734 MB / 0.8525 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.904, allocations: 1.456 MB / 0.854 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.9041, allocations: 4 kB / 0.854 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01066/0.9147, allocations: 4.121 MB / 0.858 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002806/0.9176, allocations: 6.078 MB / 0.8639 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/0.9177, allocations: 12 kB / 0.8639 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007626/0.9253, allocations: 1.386 MB / 0.8653 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.9278, allocations: 495.2 kB / 0.8658 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.9396, allocations: 10.52 MB / 0.876 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/0.9438, allocations: 239.5 kB / 0.8763 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.9441, allocations: 116 kB / 0.8764 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9441, allocations: 7.938 kB / 0.8764 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009764/0.9539, allocations: 3.912 MB / 0.8802 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/0.954, allocations: 16 kB / 0.8802 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/0.9613, allocations: 1.422 MB / 0.8816 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.9633, allocations: 467.3 kB / 0.882 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.9747, allocations: 10.45 MB / 0.8922 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/0.9783, allocations: 231.5 kB / 0.8925 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/0.9786, allocations: 108 kB / 0.8926 GB, free: 9.633 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 239 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.002238/0.9809, allocations: 1.051 MB / 0.8936 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008573/0.9818, allocations: 304.4 kB / 0.8939 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005651/0.9874, allocations: 3.043 MB / 0.8969 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.9875, allocations: 27.98 kB / 0.8969 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9875, allocations: 0 / 0.8969 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004317/0.9918, allocations: 2.659 MB / 0.8995 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.003, allocations: 5.992 MB / 0.9053 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.003, allocations: 4.531 kB / 0.9053 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.005, allocations: 327.6 kB / 0.9056 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/1.006, allocations: 0.607 MB / 0.9062 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.007, allocations: 63.95 kB / 0.9063 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009368/1.016, allocations: 12.36 MB / 0.9184 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.016, allocations: 8.188 kB / 0.9184 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007447/1.023, allocations: 4.257 MB / 0.9225 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.026, allocations: 0.6649 MB / 0.9232 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/1.026, allocations: 51.98 kB / 0.9232 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.028, allocations: 175.5 kB / 0.9234 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.028, allocations: 137.7 kB / 0.9235 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.028, allocations: 75.95 kB / 0.9236 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003147/1.031, allocations: 1.937 MB / 0.9255 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.11e-07/1.031, allocations: 0 / 0.9255 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005137/1.037, allocations: 1.633 MB / 0.9271 GB, free: 4.746 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.nextTimeEvent,hysPum.y,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 6 {1 3,1 4,1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002092/1.039, allocations: 0.9328 MB / 0.928 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.052, allocations: 6.742 MB / 0.9346 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.052, allocations: 0 / 0.9346 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/1.056, allocations: 1.859 MB / 0.9364 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007875/1.063, allocations: 1.691 MB / 0.9381 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.076, allocations: 7.901 MB / 0.9458 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/1.079, allocations: 2.386 MB / 0.9481 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004784/1.084, allocations: 1.078 MB / 0.9492 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/1.085, allocations: 263.2 kB / 0.9494 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/1.085, allocations: 0 / 0.9494 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.4155/1.501, allocations: 78.4 MB / 1.026 GB, free: 232.4 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) Environment - environmentSimulation: