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.1922/0.1941, allocations: 80.83 MB / 0.5897 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003098/0.1972, allocations: 1.577 MB / 0.5912 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.198, allocations: 448.6 kB / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.198, allocations: 0 / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.1981, allocations: 4 kB / 0.5917 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.1981, allocations: 19.84 kB / 0.5917 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1983, allocations: 11.98 kB / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.1984, allocations: 43.8 kB / 0.5917 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1985, allocations: 12 kB / 0.5917 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.1986, allocations: 23.86 kB / 0.5918 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.1987, allocations: 31.89 kB / 0.5918 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1987, allocations: 0 / 0.5918 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.1987, allocations: 4 kB / 0.5918 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1988, allocations: 3.938 kB / 0.5918 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1988, allocations: 27.86 kB / 0.5918 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.8e-05/0.1989, allocations: 36.11 kB / 0.5919 GB, free: 4.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1989, allocations: 0 / 0.5919 GB, free: 4.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1989, allocations: 0 / 0.5919 GB, free: 4.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1989, allocations: 4 kB / 0.5919 GB, free: 4.844 MB / 446.1 MB 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.0004801/0.1994, allocations: 359.3 kB / 0.5922 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1995, allocations: 8.031 kB / 0.5922 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1995, allocations: 12.83 kB / 0.5922 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1997, allocations: 176.2 kB / 0.5924 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1997, allocations: 384 / 0.5924 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1997, allocations: 4.125 kB / 0.5924 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1999, allocations: 61.61 kB / 0.5925 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1999, allocations: 0 / 0.5925 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1999, allocations: 0 / 0.5925 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1999, allocations: 3.938 kB / 0.5925 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.2, allocations: 39.97 kB / 0.5925 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.2005, allocations: 268.9 kB / 0.5928 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2006, allocations: 38.56 kB / 0.5928 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.2007, allocations: 32.88 kB / 0.5928 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2007, allocations: 0 / 0.5928 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2007, allocations: 30.56 kB / 0.5929 GB, free: 3.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2007, allocations: 0 / 0.5929 GB, free: 3.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003104/0.201, allocations: 93.55 kB / 0.5929 GB, free: 3.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.2011, allocations: 51.41 kB / 0.593 GB, free: 3.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.2012, allocations: 124.4 kB / 0.5931 GB, free: 3.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2012, allocations: 29.64 kB / 0.5931 GB, free: 3.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.2013, allocations: 88.12 kB / 0.5932 GB, free: 3.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.2013, allocations: 15.81 kB / 0.5932 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2013, allocations: 9.719 kB / 0.5933 GB, free: 3.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2014, allocations: 326.8 kB / 0.5936 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.2015, allocations: 15.92 kB / 0.5936 GB, free: 2.879 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.2016, allocations: 23.98 kB / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.2017, allocations: 40.83 kB / 0.5936 GB, free: 2.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2017, allocations: 0 / 0.5936 GB, free: 2.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001545/0.2019, allocations: 65.67 kB / 0.5937 GB, free: 2.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2019, allocations: 8 kB / 0.5937 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2019, allocations: 0 / 0.5937 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2019, allocations: 336 / 0.5937 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.202, allocations: 15.98 kB / 0.5937 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2021, allocations: 3.938 kB / 0.5937 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.2021, allocations: 7.938 kB / 0.5937 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2021, allocations: 3.984 kB / 0.5937 GB, free: 2.703 MB / 446.1 MB 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 8.051e-05/0.2022, allocations: 114.7 kB / 0.5938 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.2022, allocations: 7.906 kB / 0.5939 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.2023, allocations: 11.89 kB / 0.5939 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2023, allocations: 4 kB / 0.5939 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2023, allocations: 0 / 0.5939 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2023, allocations: 7.938 kB / 0.5939 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2025, allocations: 173.6 kB / 0.594 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2025, allocations: 0 / 0.594 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.2026, allocations: 12 kB / 0.5941 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2026, allocations: 0 / 0.5941 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2026, allocations: 3.984 kB / 0.5941 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2026, allocations: 0 / 0.5941 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2026, allocations: 0 / 0.5941 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.2028, allocations: 175.3 kB / 0.5942 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.2029, allocations: 81.09 kB / 0.5943 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2029, allocations: 4 kB / 0.5943 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.203, allocations: 0 / 0.5943 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.203, allocations: 11.98 kB / 0.5943 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.203, allocations: 0 / 0.5943 GB, free: 2.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.2031, allocations: 91.27 kB / 0.5944 GB, free: 1.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2031, allocations: 0 / 0.5944 GB, free: 1.926 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.2033, allocations: 15.94 kB / 0.5944 GB, free: 1.91 MB / 446.1 MB 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.000106/0.2034, allocations: 95.25 kB / 0.5945 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.2036, allocations: 39.97 kB / 0.5946 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2036, allocations: 4 kB / 0.5946 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.877e-05/0.2037, allocations: 27.86 kB / 0.5946 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2039, allocations: 4 kB / 0.5946 GB, free: 1.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2043, allocations: 181.9 kB / 0.5948 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.2045, allocations: 0.6848 MB / 0.5954 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.2046, allocations: 4 kB / 0.5954 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.2046, allocations: 11.44 kB / 0.5954 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2046, allocations: 0 / 0.5954 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of Templates: time 0.002317/0.2069, allocations: 405 kB / 0.5958 GB, free: 452 kB / 446.1 MB 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)