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.2024/0.2049, allocations: 80.84 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002961/0.2079, allocations: 1.498 MB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008063/0.2088, allocations: 455.8 kB / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.2088, allocations: 8 kB / 0.6725 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.2089, allocations: 3.938 kB / 0.6725 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.2089, allocations: 7.875 kB / 0.6725 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.2091, allocations: 23.95 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.2092, allocations: 47.8 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2094, allocations: 15.92 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.2095, allocations: 23.98 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.2095, allocations: 23.86 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2096, allocations: 4 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.2096, allocations: 4 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2096, allocations: 11.97 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2097, allocations: 19.88 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.2098, allocations: 43.77 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2098, allocations: 0 / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2098, allocations: 0 / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2098, allocations: 0 / 0.6728 GB, free: 15.79 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.0004991/0.2103, allocations: 367.3 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2103, allocations: 12.03 kB / 0.6731 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.2104, allocations: 4.844 kB / 0.6731 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2105, allocations: 180.2 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2105, allocations: 4.359 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2106, allocations: 7.938 kB / 0.6733 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2107, allocations: 53.67 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2107, allocations: 0 / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2108, allocations: 0 / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2108, allocations: 8 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.2109, allocations: 35.97 kB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.2114, allocations: 272.8 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2115, allocations: 38.5 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.2116, allocations: 28.94 kB / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2116, allocations: 0 / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2117, allocations: 38.56 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2117, allocations: 0 / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003523/0.212, allocations: 93.48 kB / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2121, allocations: 51.41 kB / 0.6739 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2122, allocations: 129.8 kB / 0.674 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2122, allocations: 25.7 kB / 0.674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2123, allocations: 92.08 kB / 0.6741 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.2123, allocations: 11.84 kB / 0.6741 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.2124, allocations: 17.7 kB / 0.6742 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2125, allocations: 318.8 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.2126, allocations: 15.98 kB / 0.6745 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.2127, allocations: 19.98 kB / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.2128, allocations: 40.83 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2128, allocations: 0 / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000175/0.213, allocations: 81.5 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.213, allocations: 4 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.213, allocations: 0 / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2131, allocations: 0 / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2132, allocations: 8 kB / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2132, allocations: 7.984 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.2132, allocations: 4 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2132, allocations: 3.938 kB / 0.6746 GB, free: 13.63 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 9.413e-05/0.2133, allocations: 117.8 kB / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2134, allocations: 0 / 0.6748 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.2134, allocations: 15.89 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2134, allocations: 0 / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2134, allocations: 0 / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2134, allocations: 4 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2136, allocations: 173.5 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2136, allocations: 4 kB / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.2137, allocations: 11.92 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2137, allocations: 0 / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2137, allocations: 4 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2137, allocations: 0 / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2137, allocations: 0 / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.214, allocations: 171.4 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.214, allocations: 85.02 kB / 0.6752 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2141, allocations: 0 / 0.6752 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.2141, allocations: 7.984 kB / 0.6752 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.2142, allocations: 4 kB / 0.6752 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2142, allocations: 0 / 0.6752 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.2143, allocations: 99.2 kB / 0.6753 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2143, allocations: 0 / 0.6753 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002125/0.2145, allocations: 8 kB / 0.6753 GB, free: 12.84 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 9.687e-05/0.2146, allocations: 99.25 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.2148, allocations: 47.89 kB / 0.6755 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2148, allocations: 0 / 0.6755 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.2149, allocations: 20.45 kB / 0.6755 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.2151, allocations: 3.938 kB / 0.6755 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2155, allocations: 172.1 kB / 0.6756 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2158, allocations: 0.6807 MB / 0.6763 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.2158, allocations: 8.078 kB / 0.6763 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.2159, allocations: 7.438 kB / 0.6763 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.2159, allocations: 0 / 0.6763 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.002595/0.2185, allocations: 487.9 kB / 0.6768 GB, free: 11.27 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)