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.7219/0.7219, allocations: 132.5 MB / 139.9 MB, free: 15.41 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.000971/0.0009711, allocations: 176 kB / 171.8 MB, free: 2.008 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.5/1.5, allocations: 170.6 MB / 374.2 MB, free: 15.68 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.001813/0.001813, allocations: 115.2 kB / 444.8 MB, free: 9.215 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.5015/0.5015, allocations: 73.4 MB / 0.6666 GB, free: 46.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.645, allocations: 101.5 MB / 0.7658 GB, free: 3.273 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.6454, allocations: 88.55 kB / 0.7658 GB, free: 3.188 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003612/0.649, allocations: 1.096 MB / 0.7669 GB, free: 2.117 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6491, allocations: 0 / 0.7669 GB, free: 2.117 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.6491, allocations: 0.5625 kB / 0.7669 GB, free: 2.117 MB / 474.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.0004145/0.6495, allocations: 354.5 kB / 0.7672 GB, free: 1.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6496, allocations: 8.031 kB / 0.7673 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.6496, allocations: 13.03 kB / 0.7673 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.6498, allocations: 178.9 kB / 0.7674 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6499, allocations: 0 / 0.7674 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.6499, allocations: 5.688 kB / 0.7674 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.39e-05/0.65, allocations: 20 kB / 0.7675 GB, free: 1.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6501, allocations: 50.22 kB / 0.7675 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6501, allocations: 0 / 0.7675 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6501, allocations: 0 / 0.7675 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6501, allocations: 0 / 0.7675 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.6506, allocations: 245.5 kB / 0.7677 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.6507, allocations: 38.53 kB / 0.7678 GB, free: 1.105 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.6507, allocations: 12.95 kB / 0.7678 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.6508, allocations: 5.484 kB / 0.7678 GB, free: 1.086 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.6508, allocations: 39 kB / 0.7678 GB, free: 1.043 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6508, allocations: 0 / 0.7678 GB, free: 1.043 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001953/0.651, allocations: 57.53 kB / 0.7679 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.651, allocations: 53.92 kB / 0.7679 GB, free: 0.918 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.6511, allocations: 106.4 kB / 0.768 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.6512, allocations: 29.7 kB / 0.7681 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.6512, allocations: 92.12 kB / 0.7682 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.6512, allocations: 3.906 kB / 0.7682 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.6513, allocations: 4.844 kB / 0.7682 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6514, allocations: 318.8 kB / 0.7685 GB, free: 360 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.6514, allocations: 4 kB / 0.7685 GB, free: 356 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.6514, allocations: 8 kB / 0.7685 GB, free: 348 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.6515, allocations: 8 kB / 0.7685 GB, free: 340 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6515, allocations: 4 kB / 0.7685 GB, free: 336 kB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.564e-05/0.6516, allocations: 57.53 kB / 0.7686 GB, free: 272 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6516, allocations: 7.953 kB / 0.7686 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6516, allocations: 0 / 0.7686 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6516, allocations: 0.6562 kB / 0.7686 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.6518, allocations: 17.16 kB / 0.7686 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6518, allocations: 0 / 0.7686 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.6518, allocations: 7.984 kB / 0.7686 GB, free: 240 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.6519, allocations: 4 kB / 0.7686 GB, free: 236 kB / 474.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 () * 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 7.773e-05/0.6519, allocations: 104.9 kB / 0.7687 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.652, allocations: 11.91 kB / 0.7687 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.652, allocations: 12.86 kB / 0.7687 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.652, allocations: 0 / 0.7687 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.652, allocations: 3.172 kB / 0.7687 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.652, allocations: 0 / 0.7687 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.6522, allocations: 151.8 kB / 0.7689 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6522, allocations: 0 / 0.7689 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.6523, allocations: 12.75 kB / 0.7689 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6523, allocations: 4 kB / 0.7689 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.6523, allocations: 3.984 kB / 0.7689 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6523, allocations: 0 / 0.7689 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6524, allocations: 3.953 kB / 0.7689 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.6525, allocations: 148.1 kB / 0.769 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.6526, allocations: 85.02 kB / 0.7691 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.6526, allocations: 7.984 kB / 0.7691 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.6527, allocations: 9.219 kB / 0.7691 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.6527, allocations: 4.984 kB / 0.7691 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.6527, allocations: 9.172 kB / 0.7691 GB, free: 15.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.936e-05/0.6528, allocations: 88.03 kB / 0.7692 GB, free: 15.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6528, allocations: 0 / 0.7692 GB, free: 15.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.653, allocations: 8 kB / 0.7692 GB, free: 15.5 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 () * 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.000112/0.6532, allocations: 95.25 kB / 0.7693 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.6533, allocations: 27.98 kB / 0.7693 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6533, allocations: 0 / 0.7693 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.6533, allocations: 15.94 kB / 0.7694 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.6535, allocations: 2.109 kB / 0.7694 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.6538, allocations: 82.2 kB / 0.7694 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6541, allocations: 0.6924 MB / 0.7701 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.918e-05/0.6541, allocations: 5.125 kB / 0.7701 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.6541, allocations: 11.44 kB / 0.7701 GB, free: 14.53 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6541, allocations: 0 / 0.7701 GB, free: 14.53 MB / 490.7 MB Notification: Performance of Templates: time 0.002082/0.6562, allocations: 357.7 kB / 0.7705 GB, free: 14.21 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)