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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8257/0.8257, allocations: 132.4 MB / 139.9 MB, free: 2.797 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001434/0.001434, allocations: 175.2 kB / 171.8 MB, free: 4.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.312/1.312, allocations: 170.6 MB / 374.2 MB, free: 188 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001394/0.001394, allocations: 104.6 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/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.1501/0.1501, allocations: 73.42 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6543, allocations: 101.5 MB / 0.7658 GB, free: 14.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.6547, allocations: 87.89 kB / 0.7658 GB, free: 14.01 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003451/0.6582, allocations: 1.094 MB / 0.7669 GB, free: 12.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6582, allocations: 0 / 0.7669 GB, free: 12.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.6583, allocations: 4 kB / 0.7669 GB, free: 12.92 MB / 474.7 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.0003829/0.6586, allocations: 350.5 kB / 0.7672 GB, free: 12.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6587, allocations: 8.031 kB / 0.7673 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.6588, allocations: 8.531 kB / 0.7673 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.6589, allocations: 174.9 kB / 0.7674 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6589, allocations: 0 / 0.7674 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.659, allocations: 7.953 kB / 0.7674 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.307e-05/0.659, allocations: 16 kB / 0.7675 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6592, allocations: 45.69 kB / 0.7675 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6592, allocations: 0 / 0.7675 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.6592, allocations: 0 / 0.7675 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6592, allocations: 0 / 0.7675 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.6596, allocations: 257.5 kB / 0.7677 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.6597, allocations: 34.5 kB / 0.7678 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.6597, allocations: 19.89 kB / 0.7678 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.6598, allocations: 0 / 0.7678 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6598, allocations: 34.56 kB / 0.7678 GB, free: 11.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.6598, allocations: 0 / 0.7678 GB, free: 11.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001745/0.66, allocations: 53.69 kB / 0.7679 GB, free: 11.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.66, allocations: 52.16 kB / 0.7679 GB, free: 11.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.6601, allocations: 114.7 kB / 0.768 GB, free: 11.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.6601, allocations: 25.7 kB / 0.7681 GB, free: 11.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.6602, allocations: 88.14 kB / 0.7681 GB, free: 11.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.6602, allocations: 7.906 kB / 0.7682 GB, free: 11.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.6602, allocations: 0 / 0.7682 GB, free: 11.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6604, allocations: 318.8 kB / 0.7685 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.6604, allocations: 7.938 kB / 0.7685 GB, free: 11.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.6604, allocations: 11.94 kB / 0.7685 GB, free: 11.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.6604, allocations: 8 kB / 0.7685 GB, free: 11.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6604, allocations: 0 / 0.7685 GB, free: 11.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.425e-05/0.6605, allocations: 57.55 kB / 0.7685 GB, free: 11.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6606, allocations: 12.89 kB / 0.7686 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.6606, allocations: 3.984 kB / 0.7686 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6606, allocations: 4 kB / 0.7686 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.6607, allocations: 12.19 kB / 0.7686 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.6607, allocations: 0 / 0.7686 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.6608, allocations: 7.984 kB / 0.7686 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.6608, allocations: 0 / 0.7686 GB, free: 11.03 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.6609, allocations: 116.9 kB / 0.7687 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.6609, allocations: 11.84 kB / 0.7687 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.6609, allocations: 8.344 kB / 0.7687 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.661, allocations: 0 / 0.7687 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.661, allocations: 7.922 kB / 0.7687 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.661, allocations: 0 / 0.7687 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.6611, allocations: 146.2 kB / 0.7689 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6612, allocations: 0 / 0.7689 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.6612, allocations: 18.98 kB / 0.7689 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6612, allocations: 0 / 0.7689 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.6613, allocations: 4 kB / 0.7689 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6613, allocations: 3.953 kB / 0.7689 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6613, allocations: 0 / 0.7689 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.6614, allocations: 143.5 kB / 0.769 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.6615, allocations: 93 kB / 0.7691 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.6615, allocations: 0 / 0.7691 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.6616, allocations: 4 kB / 0.7691 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.6616, allocations: 11.94 kB / 0.7691 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.6616, allocations: 4 kB / 0.7691 GB, free: 10.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.6617, allocations: 89.53 kB / 0.7692 GB, free: 10.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6617, allocations: 0 / 0.7692 GB, free: 10.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.6619, allocations: 8 kB / 0.7692 GB, free: 10.29 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.662, allocations: 106.8 kB / 0.7693 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.6621, allocations: 20 kB / 0.7693 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6621, allocations: 0 / 0.7693 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.6622, allocations: 16 kB / 0.7694 GB, free: 10.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.6623, allocations: 3.984 kB / 0.7694 GB, free: 10.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.6626, allocations: 79.86 kB / 0.7694 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6628, allocations: 0.6885 MB / 0.7701 GB, free: 9.328 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.6629, allocations: 7.938 kB / 0.7701 GB, free: 9.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.6629, allocations: 7.438 kB / 0.7701 GB, free: 9.316 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6629, allocations: 4 kB / 0.7701 GB, free: 9.312 MB / 474.7 MB Notification: Performance of Templates: time 0.002053/0.665, allocations: 365.6 kB / 0.7705 GB, free: 8.965 MB / 474.7 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)