Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 195.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.2 MB / 0.5485 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.41 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1933, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002543/0.1959, allocations: 1.278 MB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1978, allocations: 1.231 MB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.592e-05/0.1979, allocations: 0 / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.1979, allocations: 3.984 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.1987, allocations: 179.6 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.1988, allocations: 35.89 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.1989, allocations: 19.92 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.1989, allocations: 8 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.1989, allocations: 15.86 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1991, allocations: 11.98 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1991, allocations: 0 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.1995, allocations: 235.7 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.1995, allocations: 0 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.1995, allocations: 15.92 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1998, allocations: 203.7 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1998, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1999, allocations: 4 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1999, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000374/0.2002, allocations: 379.8 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2003, allocations: 12.03 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.2004, allocations: 80.12 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2005, allocations: 239.6 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.2005, allocations: 162.9 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.2006, allocations: 154.9 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.072e-05/0.2007, allocations: 109.1 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.2007, allocations: 79.28 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.2007, allocations: 150.6 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.2008, allocations: 150.6 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.2009, allocations: 158.5 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.2011, allocations: 449.9 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.2012, allocations: 165.1 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.2012, allocations: 80.14 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2013, allocations: 75.28 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.2013, allocations: 117.8 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2013, allocations: 3.938 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.117e-05/0.2014, allocations: 29.75 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.2015, allocations: 211.8 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.2016, allocations: 97.84 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2016, allocations: 25.7 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.2017, allocations: 80.14 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.2017, allocations: 4 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.2017, allocations: 17.72 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.2018, allocations: 310.8 kB / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.2018, allocations: 0 / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.2018, allocations: 26.56 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.2019, allocations: 75.28 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.2019, allocations: 79.28 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.895e-05/0.202, allocations: 41.58 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.202, allocations: 85.94 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.202, allocations: 75.28 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.286e-05/0.2021, allocations: 158.4 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-05/0.2021, allocations: 75.28 kB / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.209e-05/0.2022, allocations: 158.5 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2023, allocations: 83.28 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.2024, allocations: 75.28 kB / 0.7901 GB, free: 6.25 MB / 0.6075 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.2025, allocations: 264.4 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.2026, allocations: 112.9 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.2026, allocations: 108.1 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/0.2027, allocations: 188.1 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-05/0.2027, allocations: 176.3 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.2028, allocations: 184.3 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.203, allocations: 405.1 kB / 0.7915 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.203, allocations: 101 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.2031, allocations: 116.9 kB / 0.7917 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.637e-05/0.2031, allocations: 188.5 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.2032, allocations: 176.3 kB / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.723e-05/0.2033, allocations: 180.2 kB / 0.7922 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-05/0.2033, allocations: 184.3 kB / 0.7924 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2035, allocations: 311.8 kB / 0.7927 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.2035, allocations: 182 kB / 0.7928 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.2036, allocations: 184.2 kB / 0.793 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2037, allocations: 105 kB / 0.7931 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.2038, allocations: 180.2 kB / 0.7933 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.2038, allocations: 113 kB / 0.7934 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.2039, allocations: 75.52 kB / 0.7935 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2039, allocations: 0 / 0.7935 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003818/0.2043, allocations: 75.98 kB / 0.7935 GB, free: 2.488 MB / 0.6075 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006659/0.2049, allocations: 398.5 kB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.834e-05/0.205, allocations: 4 kB / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.205, allocations: 4 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.205, allocations: 3.938 kB / 0.7939 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.2053, allocations: 459.7 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.2056, allocations: 168.6 kB / 0.7945 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2058, allocations: 0.6729 MB / 0.7952 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.2058, allocations: 8 kB / 0.7952 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.2059, allocations: 11.44 kB / 0.7952 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2059, allocations: 0 / 0.7952 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of Templates: time 0.004345/0.2102, allocations: 2.062 MB / 0.7972 GB, free: 14.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)