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.4579/0.4601, allocations: 80.81 MB / 0.5904 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003142/0.4633, allocations: 1.496 MB / 0.5919 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.4641, allocations: 460.5 kB / 0.5923 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.4642, allocations: 2.094 kB / 0.5923 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.4643, allocations: 7.922 kB / 0.5923 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.4643, allocations: 14.95 kB / 0.5923 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.4645, allocations: 15.39 kB / 0.5924 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.4646, allocations: 52.62 kB / 0.5924 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4648, allocations: 5.5 kB / 0.5924 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.4649, allocations: 26.81 kB / 0.5924 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.465, allocations: 27.08 kB / 0.5925 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.465, allocations: 9.844 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.465, allocations: 2.438 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.4651, allocations: 9.047 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.4651, allocations: 18.88 kB / 0.5925 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.4653, allocations: 52.73 kB / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4653, allocations: 0.8438 kB / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4653, allocations: 1.5 kB / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4653, allocations: 1.875 kB / 0.5926 GB, free: 20.61 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.0005278/0.4659, allocations: 360.9 kB / 0.5929 GB, free: 20.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4659, allocations: 8.031 kB / 0.5929 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.466, allocations: 10.5 kB / 0.5929 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4661, allocations: 177.9 kB / 0.5931 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4661, allocations: 384 / 0.5931 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.4661, allocations: 8.125 kB / 0.5931 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.4663, allocations: 54.3 kB / 0.5931 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4664, allocations: 0.9375 kB / 0.5931 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4664, allocations: 0 / 0.5931 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4664, allocations: 1.75 kB / 0.5932 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.4665, allocations: 35.95 kB / 0.5932 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.467, allocations: 279.7 kB / 0.5935 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4671, allocations: 38.56 kB / 0.5935 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.4672, allocations: 24.94 kB / 0.5935 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4672, allocations: 1.094 kB / 0.5935 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4672, allocations: 34.56 kB / 0.5935 GB, free: 19.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4672, allocations: 0 / 0.5935 GB, free: 19.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003354/0.4676, allocations: 93.5 kB / 0.5936 GB, free: 19.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.4676, allocations: 55.39 kB / 0.5937 GB, free: 19.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.4677, allocations: 117.8 kB / 0.5938 GB, free: 19.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.4677, allocations: 25.7 kB / 0.5938 GB, free: 19.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.4678, allocations: 96.08 kB / 0.5939 GB, free: 19.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4678, allocations: 11.89 kB / 0.5939 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.4678, allocations: 17.72 kB / 0.5939 GB, free: 18.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.4679, allocations: 314.8 kB / 0.5942 GB, free: 18.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.468, allocations: 23.92 kB / 0.5943 GB, free: 18.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.468, allocations: 15.98 kB / 0.5943 GB, free: 18.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.4681, allocations: 40.83 kB / 0.5943 GB, free: 18.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4681, allocations: 4 kB / 0.5943 GB, free: 18.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000144/0.4683, allocations: 81.5 kB / 0.5944 GB, free: 18.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4683, allocations: 4 kB / 0.5944 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4683, allocations: 3.984 kB / 0.5944 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4683, allocations: 0 / 0.5944 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4685, allocations: 11.98 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4685, allocations: 3.938 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.4685, allocations: 4 kB / 0.5944 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4685, allocations: 4 kB / 0.5944 GB, free: 18.47 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.178e-05/0.4686, allocations: 113.8 kB / 0.5945 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.4686, allocations: 3.906 kB / 0.5945 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.4687, allocations: 15.89 kB / 0.5946 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4687, allocations: 0 / 0.5946 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4687, allocations: 4 kB / 0.5946 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4687, allocations: 0 / 0.5946 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.4688, allocations: 169.6 kB / 0.5947 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4688, allocations: 0 / 0.5947 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.4689, allocations: 15.98 kB / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4689, allocations: 0 / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4689, allocations: 0 / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4689, allocations: 4 kB / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4689, allocations: 0 / 0.5947 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4691, allocations: 171.7 kB / 0.5949 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.4691, allocations: 85.02 kB / 0.595 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.4692, allocations: 4.047 kB / 0.595 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.4693, allocations: 11.97 kB / 0.595 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.4693, allocations: 0 / 0.595 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4693, allocations: 0 / 0.595 GB, free: 17.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.662e-05/0.4694, allocations: 97.89 kB / 0.5951 GB, free: 17.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.4694, allocations: 0 / 0.5951 GB, free: 17.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.4696, allocations: 15.88 kB / 0.5951 GB, free: 17.68 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.0001082/0.4697, allocations: 107.2 kB / 0.5952 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.4699, allocations: 47.91 kB / 0.5953 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4699, allocations: 0 / 0.5953 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.47, allocations: 23.98 kB / 0.5953 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4702, allocations: 4.547 kB / 0.5953 GB, free: 17.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.4706, allocations: 164.1 kB / 0.5954 GB, free: 17.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4707, allocations: 0.6807 MB / 0.5961 GB, free: 16.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.19e-05/0.4708, allocations: 0 / 0.5961 GB, free: 16.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.4708, allocations: 15.42 kB / 0.5961 GB, free: 16.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4708, allocations: 0 / 0.5961 GB, free: 16.59 MB / 446.1 MB Notification: Performance of Templates: time 0.002484/0.4733, allocations: 446.4 kB / 0.5966 GB, free: 16.18 MB / 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)