Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.076/2.076, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001179/0.001179, allocations: 183.7 kB / 371.2 MB, free: 10.83 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.691/1.691, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0008023/0.0008023, allocations: 89.5 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 12.58 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001899/0.1897, allocations: 1.573 MB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.1929, allocations: 3.23 MB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1931, allocations: 3.938 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1933, allocations: 47.75 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.1938, allocations: 111.4 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.685e-05/0.1939, allocations: 23.91 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1941, allocations: 167.2 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1943, allocations: 25.67 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1945, allocations: 79.69 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1946, allocations: 67.69 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1947, allocations: 8 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.1948, allocations: 27.92 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.1948, allocations: 35.83 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1949, allocations: 49.64 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.195, allocations: 103.8 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.195, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1951, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1951, allocations: 4 kB / 0.9841 GB, free: 22.62 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007934/0.1959, allocations: 0.4946 MB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1959, allocations: 11.97 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.196, allocations: 20.69 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1963, allocations: 246.9 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1963, allocations: 8.359 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1963, allocations: 384 / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1967, allocations: 160.1 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1967, allocations: 4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1967, allocations: 7.984 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1967, allocations: 15.92 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.1971, allocations: 159.8 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.1978, allocations: 464.5 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.1982, allocations: 187.3 kB / 0.9858 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1984, allocations: 112.8 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1984, allocations: 0 / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.1985, allocations: 38.55 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1985, allocations: 4 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007557/0.1992, allocations: 310.5 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.1993, allocations: 51.41 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1994, allocations: 213 kB / 0.9865 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1994, allocations: 25.7 kB / 0.9865 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.1995, allocations: 124 kB / 0.9866 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1995, allocations: 51.31 kB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.1995, allocations: 0 / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.1996, allocations: 338.8 kB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1998, allocations: 84.19 kB / 0.9871 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.2, allocations: 84.81 kB / 0.9872 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.2004, allocations: 182 kB / 0.9873 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2004, allocations: 0 / 0.9873 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004746/0.2009, allocations: 229.3 kB / 0.9876 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2009, allocations: 8 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.201, allocations: 0 / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.201, allocations: 0 / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2012, allocations: 39.91 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2012, allocations: 3.984 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.2014, allocations: 23.98 kB / 0.9876 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2014, allocations: 4 kB / 0.9876 GB, free: 18.77 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 (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 prepare postOptimizeDAE: time 8.567e-05/0.2015, allocations: 129.8 kB / 0.9878 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2016, allocations: 27.66 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.2016, allocations: 25.84 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2016, allocations: 3.984 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2016, allocations: 0 / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2016, allocations: 0 / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2018, allocations: 261.4 kB / 0.9881 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2019, allocations: 7.938 kB / 0.9881 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.2021, allocations: 39.91 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2021, allocations: 7.984 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2021, allocations: 4 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2021, allocations: 0 / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2021, allocations: 0 / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.2026, allocations: 336.7 kB / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.2027, allocations: 112.9 kB / 0.9886 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.2027, allocations: 4 kB / 0.9886 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2029, allocations: 15.98 kB / 0.9886 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.203, allocations: 15.97 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.203, allocations: 4 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.236e-05/0.2031, allocations: 160.4 kB / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2031, allocations: 0 / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002444/0.2034, allocations: 43.92 kB / 0.9888 GB, free: 17.51 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.0001388/0.2035, allocations: 107.2 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.204, allocations: 192.5 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.204, allocations: 0 / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.2043, allocations: 103.9 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.2046, allocations: 24.42 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.2053, allocations: 0.4944 MB / 0.9897 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2055, allocations: 0.7278 MB / 0.9904 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.2057, allocations: 52.58 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.2057, allocations: 19.42 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2057, allocations: 4 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.003742/0.2095, allocations: 1.602 MB / 0.992 GB, free: 14.15 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)