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.2435/0.2442, allocations: 82.21 MB / 0.5935 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002444/0.2467, allocations: 1.209 MB / 0.5947 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.2476, allocations: 437 kB / 0.5951 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.2477, allocations: 0 / 0.5951 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.2477, allocations: 3.938 kB / 0.5951 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.2478, allocations: 7.922 kB / 0.5951 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.248, allocations: 15.97 kB / 0.5951 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2481, allocations: 43.8 kB / 0.5951 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2482, allocations: 8 kB / 0.5951 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2483, allocations: 27.86 kB / 0.5952 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.2485, allocations: 19.92 kB / 0.5952 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2485, allocations: 0 / 0.5952 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.2485, allocations: 0 / 0.5952 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.2485, allocations: 11.97 kB / 0.5952 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.2486, allocations: 29.64 kB / 0.5952 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.071e-05/0.2486, allocations: 32.17 kB / 0.5953 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2487, allocations: 8 kB / 0.5953 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.2487, allocations: 0 / 0.5953 GB, free: 4.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2487, allocations: 0 / 0.5953 GB, free: 4.078 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.0005585/0.2492, allocations: 351.2 kB / 0.5956 GB, free: 3.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2493, allocations: 15.97 kB / 0.5956 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2493, allocations: 7.891 kB / 0.5956 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2495, allocations: 167 kB / 0.5958 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2495, allocations: 4 kB / 0.5958 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2496, allocations: 11.95 kB / 0.5958 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2498, allocations: 53.67 kB / 0.5959 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2498, allocations: 0 / 0.5959 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2498, allocations: 0 / 0.5959 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2498, allocations: 7.938 kB / 0.5959 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.25, allocations: 43.97 kB / 0.5959 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.2504, allocations: 272.9 kB / 0.5962 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2506, allocations: 42.56 kB / 0.5962 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.2507, allocations: 28.94 kB / 0.5962 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2507, allocations: 0 / 0.5962 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2507, allocations: 38.5 kB / 0.5963 GB, free: 2.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2507, allocations: 0 / 0.5963 GB, free: 2.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003404/0.2511, allocations: 105.5 kB / 0.5964 GB, free: 2.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2511, allocations: 55.34 kB / 0.5964 GB, free: 2.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2512, allocations: 117.8 kB / 0.5965 GB, free: 2.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2512, allocations: 25.7 kB / 0.5966 GB, free: 2.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.2513, allocations: 88.12 kB / 0.5966 GB, free: 2.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2513, allocations: 23.8 kB / 0.5967 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2513, allocations: 0 / 0.5967 GB, free: 2.445 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2515, allocations: 314.8 kB / 0.597 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.2515, allocations: 19.98 kB / 0.597 GB, free: 2.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.837e-05/0.2516, allocations: 27.92 kB / 0.597 GB, free: 2.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.2517, allocations: 23.98 kB / 0.597 GB, free: 2.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2517, allocations: 0 / 0.597 GB, free: 2.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001618/0.2519, allocations: 81.66 kB / 0.5971 GB, free: 1.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2519, allocations: 4 kB / 0.5971 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2519, allocations: 3.938 kB / 0.5971 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2519, allocations: 4 kB / 0.5971 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.252, allocations: 11.98 kB / 0.5971 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2521, allocations: 0 / 0.5971 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.2521, allocations: 11.94 kB / 0.5971 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2521, allocations: 0 / 0.5971 GB, free: 1.938 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/0.2522, allocations: 118.7 kB / 0.5973 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2523, allocations: 12.22 kB / 0.5973 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.2523, allocations: 7.906 kB / 0.5973 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2523, allocations: 4 kB / 0.5973 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2523, allocations: 3.984 kB / 0.5973 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2523, allocations: 3.938 kB / 0.5973 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2525, allocations: 169.6 kB / 0.5975 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2525, allocations: 4 kB / 0.5975 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.2526, allocations: 11.98 kB / 0.5975 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2526, allocations: 4 kB / 0.5975 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2526, allocations: 4 kB / 0.5975 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2526, allocations: 0 / 0.5975 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2526, allocations: 4 kB / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.2529, allocations: 171.4 kB / 0.5976 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.2529, allocations: 85.06 kB / 0.5977 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.2529, allocations: 0 / 0.5977 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.253, allocations: 11.98 kB / 0.5977 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.2531, allocations: 4 kB / 0.5977 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2531, allocations: 0 / 0.5977 GB, free: 1.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.2531, allocations: 98.22 kB / 0.5978 GB, free: 1.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.2532, allocations: 0 / 0.5978 GB, free: 1.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.2534, allocations: 11.94 kB / 0.5978 GB, free: 1.133 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 (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.0001208/0.2535, allocations: 99.23 kB / 0.5979 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2537, allocations: 55.91 kB / 0.598 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2537, allocations: 0 / 0.598 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.2538, allocations: 19.98 kB / 0.598 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.254, allocations: 4 kB / 0.598 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.2544, allocations: 194.3 kB / 0.5982 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2547, allocations: 0.6887 MB / 0.5989 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2547, allocations: 4 kB / 0.5989 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.2548, allocations: 7.438 kB / 0.5989 GB, free: 8 kB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2548, allocations: 0 / 0.5989 GB, free: 8 kB / 446.1 MB Notification: Performance of Templates: time 0.002572/0.2573, allocations: 381.1 kB / 0.5992 GB, free: 15.67 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: