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.1441/0.1448, allocations: 82.23 MB / 0.5941 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001634/0.1465, allocations: 1.225 MB / 0.5953 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.1472, allocations: 448.7 kB / 0.5958 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.1472, allocations: 0 / 0.5958 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1472, allocations: 3.938 kB / 0.5958 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.151e-05/0.1473, allocations: 7.922 kB / 0.5958 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.1474, allocations: 23.91 kB / 0.5958 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.1475, allocations: 39.86 kB / 0.5958 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.1476, allocations: 8 kB / 0.5958 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.1477, allocations: 27.92 kB / 0.5959 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.1477, allocations: 19.8 kB / 0.5959 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1478, allocations: 4 kB / 0.5959 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.1478, allocations: 0 / 0.5959 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1478, allocations: 15.97 kB / 0.5959 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1478, allocations: 41.58 kB / 0.5959 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.1479, allocations: 48.03 kB / 0.596 GB, free: 3.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1479, allocations: 0 / 0.596 GB, free: 3.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1479, allocations: 0 / 0.596 GB, free: 3.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.148, allocations: 0 / 0.596 GB, free: 3.598 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.0004128/0.1484, allocations: 355.3 kB / 0.5963 GB, free: 3.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1484, allocations: 12.03 kB / 0.5963 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.1484, allocations: 4.844 kB / 0.5963 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1486, allocations: 176.3 kB / 0.5965 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1486, allocations: 384 / 0.5965 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1486, allocations: 8.125 kB / 0.5965 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1487, allocations: 65.67 kB / 0.5966 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1488, allocations: 0 / 0.5966 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1488, allocations: 0 / 0.5966 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1488, allocations: 4 kB / 0.5966 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1489, allocations: 39.91 kB / 0.5966 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1493, allocations: 280.8 kB / 0.5969 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1494, allocations: 42.56 kB / 0.5969 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.1495, allocations: 32.94 kB / 0.597 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1495, allocations: 0 / 0.597 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1496, allocations: 34.5 kB / 0.597 GB, free: 2.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1496, allocations: 4 kB / 0.597 GB, free: 2.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003331/0.1499, allocations: 101.6 kB / 0.5971 GB, free: 2.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.15, allocations: 51.41 kB / 0.5971 GB, free: 2.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.1501, allocations: 121.8 kB / 0.5973 GB, free: 2.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1501, allocations: 25.7 kB / 0.5973 GB, free: 2.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.1501, allocations: 96.03 kB / 0.5974 GB, free: 1.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1501, allocations: 7.844 kB / 0.5974 GB, free: 1.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.1502, allocations: 13.72 kB / 0.5974 GB, free: 1.945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1503, allocations: 318.8 kB / 0.5977 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.1504, allocations: 23.98 kB / 0.5977 GB, free: 1.602 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.1504, allocations: 19.98 kB / 0.5977 GB, free: 1.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1506, allocations: 56.77 kB / 0.5978 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1506, allocations: 0 / 0.5978 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001692/0.1508, allocations: 81.89 kB / 0.5979 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1508, allocations: 4 kB / 0.5979 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1508, allocations: 0 / 0.5979 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1508, allocations: 0 / 0.5979 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.1509, allocations: 19.98 kB / 0.5979 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1509, allocations: 0 / 0.5979 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.151, allocations: 11.94 kB / 0.5979 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.151, allocations: 0 / 0.5979 GB, free: 1.402 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 6.904e-05/0.1511, allocations: 114.7 kB / 0.598 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1511, allocations: 7.922 kB / 0.598 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.1511, allocations: 15.89 kB / 0.598 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1511, allocations: 4 kB / 0.598 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1511, allocations: 0 / 0.598 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1512, allocations: 0 / 0.598 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1513, allocations: 169.6 kB / 0.5982 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1513, allocations: 0 / 0.5982 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1514, allocations: 11.98 kB / 0.5982 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1514, allocations: 4 kB / 0.5982 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1514, allocations: 0 / 0.5982 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1514, allocations: 0 / 0.5982 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1514, allocations: 0 / 0.5982 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1517, allocations: 187.4 kB / 0.5984 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.1517, allocations: 81.02 kB / 0.5985 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1517, allocations: 0 / 0.5985 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.1518, allocations: 11.98 kB / 0.5985 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1519, allocations: 8 kB / 0.5985 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1519, allocations: 7.875 kB / 0.5985 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.1519, allocations: 93.67 kB / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1519, allocations: 0 / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1522, allocations: 11.94 kB / 0.5986 GB, free: 0.5977 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.0001108/0.1523, allocations: 107.2 kB / 0.5987 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1525, allocations: 47.97 kB / 0.5987 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1525, allocations: 0 / 0.5987 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.1526, allocations: 23.98 kB / 0.5988 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1528, allocations: 7.938 kB / 0.5988 GB, free: 416 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.1531, allocations: 190.4 kB / 0.599 GB, free: 200 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1533, allocations: 0.6848 MB / 0.5996 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.1534, allocations: 3.984 kB / 0.5996 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1534, allocations: 15.44 kB / 0.5996 GB, free: 15.46 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1534, allocations: 0 / 0.5996 GB, free: 15.46 MB / 462.1 MB Notification: Performance of Templates: time 0.001938/0.1553, allocations: 392.8 kB / 0.6 GB, free: 15.11 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: