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.1592/0.1614, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003209/0.1646, allocations: 1.498 MB / 0.6721 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.1656, allocations: 455.8 kB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.1657, allocations: 0 / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.1657, allocations: 7.922 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.1658, allocations: 11.86 kB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.166, allocations: 15.98 kB / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1662, allocations: 59.72 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1663, allocations: 8 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1664, allocations: 31.91 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1666, allocations: 23.91 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1666, allocations: 4 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.1666, allocations: 3.938 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.1666, allocations: 11.94 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1667, allocations: 15.92 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1668, allocations: 51.75 kB / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1668, allocations: 0 / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1669, allocations: 0 / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.1669, allocations: 0 / 0.6728 GB, free: 15.81 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.0006157/0.1675, allocations: 367.3 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1675, allocations: 8.031 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1676, allocations: 8.844 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1677, allocations: 168.2 kB / 0.6733 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1677, allocations: 4.375 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1678, allocations: 7.938 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.168, allocations: 61.67 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.168, allocations: 0 / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.168, allocations: 3.938 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.168, allocations: 3.938 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1681, allocations: 39.91 kB / 0.6734 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1686, allocations: 272.9 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1687, allocations: 38.56 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.1688, allocations: 20.94 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1688, allocations: 4 kB / 0.6737 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1689, allocations: 38.48 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.1689, allocations: 0 / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003434/0.1692, allocations: 93.56 kB / 0.6739 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1693, allocations: 51.41 kB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1694, allocations: 114.2 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1694, allocations: 29.7 kB / 0.674 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.1695, allocations: 88.12 kB / 0.6741 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1695, allocations: 11.84 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1696, allocations: 13.72 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1697, allocations: 330.8 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.1698, allocations: 11.98 kB / 0.6745 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.1699, allocations: 20.11 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.17, allocations: 48.91 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.17, allocations: 0 / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001767/0.1702, allocations: 73.58 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1702, allocations: 4 kB / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1702, allocations: 4 kB / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1703, allocations: 0 / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1704, allocations: 7.984 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1704, allocations: 0 / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.1705, allocations: 7.984 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1705, allocations: 7.938 kB / 0.6746 GB, free: 13.66 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.0001074/0.1706, allocations: 121.8 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1706, allocations: 4 kB / 0.6748 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.1707, allocations: 7.906 kB / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1707, allocations: 0 / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1707, allocations: 0 / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1707, allocations: 4 kB / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1709, allocations: 185.4 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1709, allocations: 0 / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.171, allocations: 8 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.171, allocations: 3.984 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.171, allocations: 4 kB / 0.675 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.171, allocations: 0 / 0.675 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.171, allocations: 0 / 0.675 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1713, allocations: 167.4 kB / 0.6751 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.1714, allocations: 85 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1714, allocations: 4 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.1715, allocations: 4 kB / 0.6752 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1716, allocations: 19.92 kB / 0.6752 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1716, allocations: 0 / 0.6752 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.1716, allocations: 99.25 kB / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1716, allocations: 0 / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002296/0.1719, allocations: 8 kB / 0.6753 GB, free: 12.85 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.0001321/0.172, allocations: 95.25 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1722, allocations: 43.97 kB / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1722, allocations: 0 / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.1723, allocations: 19.98 kB / 0.6755 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1726, allocations: 3.938 kB / 0.6755 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.1731, allocations: 160.2 kB / 0.6756 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1733, allocations: 0.6885 MB / 0.6763 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.1734, allocations: 4.281 kB / 0.6763 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1734, allocations: 7.438 kB / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1734, allocations: 0 / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.002682/0.1761, allocations: 476.9 kB / 0.6768 GB, free: 11.31 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)