Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 288.4 MB / 304.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009434/0.0009434, allocations: 179.4 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 0.6316 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008095/0.0008097, allocations: 96.23 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 11.69 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001465/0.1962, allocations: 1.211 MB / 0.9819 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005973/0.1968, allocations: 440.8 kB / 0.9823 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.1969, allocations: 0 / 0.9823 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.1969, allocations: 3.938 kB / 0.9823 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.197, allocations: 7.938 kB / 0.9824 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1972, allocations: 15.97 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.147e-05/0.1973, allocations: 47.78 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1974, allocations: 12 kB / 0.9824 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.1975, allocations: 19.92 kB / 0.9824 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.1975, allocations: 23.86 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1976, allocations: 0 / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.1976, allocations: 4 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1976, allocations: 11.97 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.1976, allocations: 45.58 kB / 0.9825 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.438e-05/0.1977, allocations: 24.17 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1977, allocations: 4 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1977, allocations: 0 / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1977, allocations: 0 / 0.9826 GB, free: 25.46 MB / 0.6198 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.0004228/0.1982, allocations: 359.3 kB / 0.9829 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1982, allocations: 8.031 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1983, allocations: 4.938 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.1984, allocations: 172.2 kB / 0.9831 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1984, allocations: 8.375 kB / 0.9831 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1984, allocations: 4.375 kB / 0.9831 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1986, allocations: 57.98 kB / 0.9831 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1986, allocations: 0 / 0.9831 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1986, allocations: 3.938 kB / 0.9831 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1986, allocations: 0 / 0.9831 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1987, allocations: 47.97 kB / 0.9832 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1991, allocations: 280.8 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1992, allocations: 42.56 kB / 0.9835 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.1992, allocations: 28.94 kB / 0.9835 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1993, allocations: 7.875 kB / 0.9835 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1993, allocations: 38.55 kB / 0.9836 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1993, allocations: 3.938 kB / 0.9836 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002881/0.1996, allocations: 97.66 kB / 0.9837 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/0.1996, allocations: 51.41 kB / 0.9837 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.1997, allocations: 113.8 kB / 0.9838 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.1997, allocations: 25.7 kB / 0.9839 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.1997, allocations: 100 kB / 0.9839 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1998, allocations: 7.906 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1998, allocations: 0 / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.1998, allocations: 322.8 kB / 0.9843 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.1999, allocations: 15.98 kB / 0.9843 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.2, allocations: 27.92 kB / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2001, allocations: 57.05 kB / 0.9844 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2001, allocations: 0 / 0.9844 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001437/0.2002, allocations: 81.66 kB / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2003, allocations: 4 kB / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2003, allocations: 0 / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2003, allocations: 0 / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.2004, allocations: 15.98 kB / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2004, allocations: 3.984 kB / 0.9845 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.2005, allocations: 7.906 kB / 0.9845 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2005, allocations: 0 / 0.9845 GB, free: 23.28 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.2005, allocations: 135.2 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.2006, allocations: 0 / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2006, allocations: 7.906 kB / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2006, allocations: 0 / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2006, allocations: 0 / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.2006, allocations: 88.95 kB / 0.9847 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2007, allocations: 4 kB / 0.9847 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.2007, allocations: 7.984 kB / 0.9847 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.2008, allocations: 3.938 kB / 0.9847 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002298/0.201, allocations: 160.9 kB / 0.9849 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001981/0.2012, allocations: 254.7 kB / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.019e-05/0.2013, allocations: 23.98 kB / 0.9851 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.2013, allocations: 99.58 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of Backend: time 3.21e-07/0.2014, allocations: 0 / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.2017, allocations: 112.8 kB / 0.9853 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00033/0.2021, allocations: 0.6284 MB / 0.9859 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.002158/0.2042, allocations: 0.5158 MB / 0.9864 GB, free: 21.16 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)