Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.001498/0.001498, allocations: 179.1 kB / 372 MB, free: 10.28 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.596/1.596, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.00088/0.0008802, allocations: 97.33 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 19.2 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1885, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001732/0.1903, allocations: 1.777 MB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.1932, allocations: 3.541 MB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1933, allocations: 0 / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1935, allocations: 43.69 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1938, allocations: 115.3 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.194, allocations: 115.7 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.1943, allocations: 270.9 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1944, allocations: 48.91 kB / 0.9854 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1946, allocations: 115.5 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1947, allocations: 123.5 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.1947, allocations: 12 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.1949, allocations: 119.8 kB / 0.9857 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.195, allocations: 43.77 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.195, allocations: 65.58 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1952, allocations: 223.4 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1952, allocations: 0 / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1952, allocations: 0 / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1953, allocations: 0 / 0.986 GB, free: 21.04 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001013/0.1963, allocations: 0.6246 MB / 0.9866 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1963, allocations: 12.03 kB / 0.9866 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008195/0.1971, allocations: 163.4 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.1978, allocations: 323.2 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1978, allocations: 8.188 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1978, allocations: 15.94 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.1984, allocations: 255 kB / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1984, allocations: 0 / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.1985, allocations: 0 / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1985, allocations: 4 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/0.1994, allocations: 340.2 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.2005, allocations: 0.6022 MB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.201, allocations: 194.4 kB / 0.9885 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.2015, allocations: 188.7 kB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/0.2022, allocations: 0.5806 MB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2023, allocations: 34.56 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.2023, allocations: 0 / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001569/0.2039, allocations: 0.5676 MB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.2039, allocations: 51.41 kB / 0.9899 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2041, allocations: 260.6 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2041, allocations: 33.7 kB / 0.9901 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.2042, allocations: 155.9 kB / 0.9903 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.2042, allocations: 39.45 kB / 0.9903 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.2042, allocations: 0 / 0.9903 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.2043, allocations: 342.8 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.2048, allocations: 175.9 kB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.2052, allocations: 177.2 kB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.2057, allocations: 177 kB / 0.9912 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2057, allocations: 3.938 kB / 0.9912 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001063/0.2068, allocations: 425 kB / 0.9916 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2068, allocations: 5.406 kB / 0.9916 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2069, allocations: 7.984 kB / 0.9916 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2069, allocations: 0 / 0.9916 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.2073, allocations: 87.86 kB / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2073, allocations: 0 / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2077, allocations: 59.8 kB / 0.9917 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.2077, allocations: 7.984 kB / 0.9917 GB, free: 14.86 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 (17): * Single equations (assignments): 17 * 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 0.0001058/0.2078, allocations: 129.8 kB / 0.9919 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.2079, allocations: 27.7 kB / 0.9919 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.209, allocations: 445 kB / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.209, allocations: 0 / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.209, allocations: 0 / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.209, allocations: 0 / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.2093, allocations: 317.2 kB / 0.9926 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2093, allocations: 4 kB / 0.9926 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.2097, allocations: 71.92 kB / 0.9927 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2097, allocations: 0 / 0.9927 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.2097, allocations: 11.94 kB / 0.9927 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2097, allocations: 7.922 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2097, allocations: 0 / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2107, allocations: 499 kB / 0.9932 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.2108, allocations: 128.7 kB / 0.9933 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2109, allocations: 3.984 kB / 0.9933 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.2112, allocations: 51.95 kB / 0.9934 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.2113, allocations: 15.97 kB / 0.9934 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.2113, allocations: 8 kB / 0.9934 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001134/0.2114, allocations: 183.1 kB / 0.9935 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2114, allocations: 0 / 0.9935 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003068/0.2118, allocations: 71.98 kB / 0.9936 GB, free: 12.83 MB / 0.6198 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 (13): * Single equations (assignments): 13 * 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.0001805/0.2119, allocations: 135 kB / 0.9937 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.213, allocations: 383.7 kB / 0.9941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.213, allocations: 0 / 0.9941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.2135, allocations: 193.9 kB / 0.9943 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.214, allocations: 35.41 kB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.215, allocations: 0.5882 MB / 0.9949 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2151, allocations: 0.7477 MB / 0.9956 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.2154, allocations: 41.39 kB / 0.9957 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.2155, allocations: 19.42 kB / 0.9957 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2155, allocations: 0 / 0.9957 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.004894/0.2204, allocations: 2.853 MB / 0.9985 GB, free: 7.832 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)