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.1914/0.1934, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.004037/0.1975, allocations: 1.498 MB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1986, allocations: 459.8 kB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.1987, allocations: 0 / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.1987, allocations: 3.938 kB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.1988, allocations: 15.86 kB / 0.6726 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1991, allocations: 19.97 kB / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1992, allocations: 47.8 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1994, allocations: 15.92 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1995, allocations: 19.98 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1996, allocations: 27.84 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1997, allocations: 4 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.1997, allocations: 4 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.1998, allocations: 8 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.1998, allocations: 19.86 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2, allocations: 47.7 kB / 0.6728 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2, allocations: 0 / 0.6728 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2, allocations: 0 / 0.6728 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2, allocations: 0 / 0.6728 GB, free: 15.84 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.000681/0.2007, allocations: 371.2 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2008, allocations: 12.03 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.2008, allocations: 12.94 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.201, allocations: 172.3 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.201, allocations: 4.375 kB / 0.6733 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.201, allocations: 3.938 kB / 0.6733 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2013, allocations: 53.67 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2013, allocations: 4 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.2013, allocations: 3.984 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2013, allocations: 3.984 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.2015, allocations: 43.86 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.2021, allocations: 272.9 kB / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.2022, allocations: 42.5 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.2023, allocations: 20.94 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.2024, allocations: 4 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2024, allocations: 34.56 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.2024, allocations: 3.938 kB / 0.6738 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004424/0.2029, allocations: 89.61 kB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2029, allocations: 51.41 kB / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2031, allocations: 121.8 kB / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2031, allocations: 25.7 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.2032, allocations: 96.08 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2033, allocations: 7.953 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.2033, allocations: 17.7 kB / 0.6742 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2035, allocations: 322.8 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.2036, allocations: 11.98 kB / 0.6745 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.2037, allocations: 15.98 kB / 0.6745 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.2039, allocations: 52.77 kB / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2039, allocations: 0 / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002469/0.2042, allocations: 69.62 kB / 0.6746 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2042, allocations: 9.859 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2042, allocations: 0 / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2043, allocations: 4 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2044, allocations: 4 kB / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2045, allocations: 0 / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.2045, allocations: 11.98 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2046, allocations: 3.938 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 0.0001014/0.2047, allocations: 117.8 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.2047, allocations: 7.953 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.2048, allocations: 7.906 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2048, allocations: 3.984 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.2048, allocations: 3.938 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2048, allocations: 0 / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2051, allocations: 173.6 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2051, allocations: 4 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.2052, allocations: 15.92 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2052, allocations: 0 / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2052, allocations: 4 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2052, allocations: 0 / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2053, allocations: 0 / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.2056, allocations: 167.8 kB / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.2056, allocations: 89.09 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2057, allocations: 3.938 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2058, allocations: 7.984 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.2059, allocations: 8 kB / 0.6752 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.2059, allocations: 0 / 0.6752 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.594e-05/0.206, allocations: 95.2 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.206, allocations: 3.938 kB / 0.6753 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003809/0.2064, allocations: 8 kB / 0.6753 GB, free: 12.86 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.0001419/0.2065, allocations: 99.25 kB / 0.6754 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.2068, allocations: 39.97 kB / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2068, allocations: 0 / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2069, allocations: 23.97 kB / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2073, allocations: 0 / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.2079, allocations: 176 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.2082, allocations: 0.6807 MB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.2083, allocations: 4 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.2083, allocations: 7.438 kB / 0.6763 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2084, allocations: 0 / 0.6763 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of Templates: time 0.003605/0.212, allocations: 474.2 kB / 0.6768 GB, free: 11.32 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)