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.8395/0.8395, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001577/0.001577, allocations: 172.1 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.737/1.737, allocations: 170.7 MB / 383.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001615/0.001615, allocations: 111.2 kB / 454.6 MB, free: 9.738 MB / 346.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.2627/0.2633, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6254/0.8888, allocations: 102.3 MB / 0.7811 GB, free: 24.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.8892, allocations: 94.34 kB / 0.7811 GB, free: 24.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003505/0.8927, allocations: 1.107 MB / 0.7822 GB, free: 23.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.8927, allocations: 4 kB / 0.7822 GB, free: 23.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.8928, allocations: 0 / 0.7822 GB, free: 23.33 MB / 490.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.0004174/0.8932, allocations: 362.9 kB / 0.7826 GB, free: 22.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8932, allocations: 8.031 kB / 0.7826 GB, free: 22.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.8933, allocations: 12.09 kB / 0.7826 GB, free: 22.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.8934, allocations: 172.2 kB / 0.7828 GB, free: 22.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.8934, allocations: 8.172 kB / 0.7828 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.8935, allocations: 4 kB / 0.7828 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.8937, allocations: 60.41 kB / 0.7828 GB, free: 22.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8937, allocations: 0 / 0.7828 GB, free: 22.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.8937, allocations: 1.188 kB / 0.7828 GB, free: 22.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.8937, allocations: 6.922 kB / 0.7828 GB, free: 22.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.8939, allocations: 46.86 kB / 0.7829 GB, free: 22.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.8943, allocations: 271.3 kB / 0.7831 GB, free: 22.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.8945, allocations: 46.84 kB / 0.7832 GB, free: 22.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.8945, allocations: 11.98 kB / 0.7832 GB, free: 22.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.8946, allocations: 33.61 kB / 0.7832 GB, free: 22.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.8946, allocations: 0 / 0.7832 GB, free: 22.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003634/0.8949, allocations: 102.2 kB / 0.7833 GB, free: 22.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.895, allocations: 56.3 kB / 0.7834 GB, free: 22.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.8951, allocations: 109.7 kB / 0.7835 GB, free: 22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.8951, allocations: 25.7 kB / 0.7835 GB, free: 21.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.8952, allocations: 93.2 kB / 0.7836 GB, free: 21.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.8952, allocations: 10.61 kB / 0.7836 GB, free: 21.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.8952, allocations: 0.5625 kB / 0.7836 GB, free: 21.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8953, allocations: 325 kB / 0.7839 GB, free: 21.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.8954, allocations: 19.52 kB / 0.7839 GB, free: 21.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.8955, allocations: 20 kB / 0.784 GB, free: 21.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.8955, allocations: 22.16 kB / 0.784 GB, free: 21.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8955, allocations: 0 / 0.784 GB, free: 21.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001672/0.8957, allocations: 87.3 kB / 0.7841 GB, free: 21.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8957, allocations: 4.703 kB / 0.7841 GB, free: 21.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8958, allocations: 0 / 0.7841 GB, free: 21.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8958, allocations: 4 kB / 0.7841 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.8959, allocations: 11.09 kB / 0.7841 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8959, allocations: 0 / 0.7841 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.854e-05/0.896, allocations: 13.98 kB / 0.7841 GB, free: 21.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.896, allocations: 0 / 0.7841 GB, free: 21.42 MB / 490.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 () * 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 8.334e-05/0.8961, allocations: 117.6 kB / 0.7842 GB, free: 21.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.8961, allocations: 12.61 kB / 0.7842 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.8962, allocations: 9.5 kB / 0.7842 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8962, allocations: 0 / 0.7842 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8962, allocations: 0.6094 kB / 0.7842 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8962, allocations: 4 kB / 0.7842 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.8964, allocations: 171 kB / 0.7844 GB, free: 21.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8964, allocations: 4.359 kB / 0.7844 GB, free: 21.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.8965, allocations: 10.34 kB / 0.7844 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.8965, allocations: 0.75 kB / 0.7844 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8965, allocations: 11.34 kB / 0.7844 GB, free: 21.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8965, allocations: 0.6562 kB / 0.7844 GB, free: 21.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8965, allocations: 0 / 0.7844 GB, free: 21.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.8967, allocations: 177 kB / 0.7846 GB, free: 20.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.8968, allocations: 83.88 kB / 0.7847 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.8968, allocations: 0 / 0.7847 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.8969, allocations: 13.27 kB / 0.7847 GB, free: 20.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.8969, allocations: 10.23 kB / 0.7847 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.897, allocations: 4.797 kB / 0.7847 GB, free: 20.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.897, allocations: 97.38 kB / 0.7848 GB, free: 20.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.897, allocations: 0 / 0.7848 GB, free: 20.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000217/0.8972, allocations: 8 kB / 0.7848 GB, free: 20.68 MB / 490.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 () * 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.0001078/0.8974, allocations: 100.2 kB / 0.7849 GB, free: 20.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.8975, allocations: 51 kB / 0.7849 GB, free: 20.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8976, allocations: 0 / 0.7849 GB, free: 20.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.8976, allocations: 23.22 kB / 0.785 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.8978, allocations: 4.656 kB / 0.785 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.8982, allocations: 195.9 kB / 0.7852 GB, free: 20.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.8984, allocations: 0.6888 MB / 0.7858 GB, free: 19.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.8985, allocations: 0.7031 kB / 0.7858 GB, free: 19.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.8986, allocations: 17.33 kB / 0.7858 GB, free: 19.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.8986, allocations: 0 / 0.7858 GB, free: 19.64 MB / 490.7 MB Notification: Performance of Templates: time 0.002689/0.9013, allocations: 376.9 kB / 0.7862 GB, free: 19.42 MB / 490.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)