Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [/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.1792/0.1814, allocations: 80.83 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00267/0.1841, allocations: 1.51 MB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.1848, allocations: 451.8 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.1849, allocations: 0 / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.1849, allocations: 7.922 kB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.3e-05/0.185, allocations: 15.86 kB / 0.6726 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1852, allocations: 11.98 kB / 0.6726 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1853, allocations: 51.91 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1854, allocations: 19.88 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1855, allocations: 27.84 kB / 0.6727 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.1856, allocations: 27.84 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1856, allocations: 4 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.1856, allocations: 4 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.1857, allocations: 4 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.1857, allocations: 19.86 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.1858, allocations: 55.69 kB / 0.6728 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1858, allocations: 0 / 0.6728 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1858, allocations: 0 / 0.6728 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1858, allocations: 0 / 0.6728 GB, free: 15.83 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005395/0.1864, allocations: 363.3 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1864, allocations: 8.031 kB / 0.6731 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1865, allocations: 16.81 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1866, allocations: 172.2 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1867, allocations: 384 / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1867, allocations: 7.938 kB / 0.6733 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1869, allocations: 53.67 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1869, allocations: 0 / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1869, allocations: 4 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1869, allocations: 0 / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.187, allocations: 39.91 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1874, allocations: 268.9 kB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1876, allocations: 42.5 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.1876, allocations: 28.94 kB / 0.6737 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1877, allocations: 0 / 0.6737 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1877, allocations: 30.56 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1877, allocations: 3.938 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003128/0.188, allocations: 93.55 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1881, allocations: 51.41 kB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.1882, allocations: 121.8 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1882, allocations: 25.7 kB / 0.674 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.1882, allocations: 88.12 kB / 0.6741 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1883, allocations: 15.84 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1883, allocations: 9.719 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1884, allocations: 326.8 kB / 0.6745 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.1885, allocations: 15.98 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.1885, allocations: 19.98 kB / 0.6745 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1887, allocations: 44.77 kB / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1887, allocations: 0 / 0.6745 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000156/0.1888, allocations: 69.58 kB / 0.6746 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1889, allocations: 11.94 kB / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1889, allocations: 0 / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1889, allocations: 0 / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.189, allocations: 11.98 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.189, allocations: 4 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.1891, allocations: 0 / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1891, allocations: 11.92 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/0.1892, allocations: 113.8 kB / 0.6747 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1892, allocations: 4 kB / 0.6748 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.1892, allocations: 7.906 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1892, allocations: 336 / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1893, allocations: 7.938 kB / 0.6748 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1893, allocations: 4 kB / 0.6748 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1894, allocations: 185.5 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1894, allocations: 0 / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.1895, allocations: 15.94 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1895, allocations: 0 / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1895, allocations: 3.984 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1895, allocations: 0 / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1895, allocations: 0 / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1898, allocations: 167.5 kB / 0.6751 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.1898, allocations: 85 kB / 0.6752 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1898, allocations: 4 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.1899, allocations: 4 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.19, allocations: 7.984 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.19, allocations: 0 / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.19, allocations: 99.58 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.19, allocations: 3.938 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002385/0.1903, allocations: 12 kB / 0.6753 GB, free: 12.87 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001008/0.1904, allocations: 95.25 kB / 0.6754 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1906, allocations: 39.97 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1906, allocations: 0 / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.1907, allocations: 19.98 kB / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1909, allocations: 4 kB / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.1913, allocations: 171.2 kB / 0.6756 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1915, allocations: 0.6846 MB / 0.6763 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.1915, allocations: 0 / 0.6763 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.1916, allocations: 7.438 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1916, allocations: 4 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.002398/0.194, allocations: 467 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)