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.001303/0.001303, allocations: 117.5 kB / 16.38 MB, free: 6.012 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.001403/0.001403, allocations: 189.3 kB / 17.31 MB, free: 5.613 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.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.827/1.827, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.00203/0.002031, allocations: 79.83 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002492/0.3007, allocations: 1.247 MB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3026, allocations: 1.244 MB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.3027, allocations: 3.938 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.3027, allocations: 4 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/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.0007406/0.3035, allocations: 211.3 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.3036, allocations: 36.77 kB / 0.7875 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.3037, allocations: 11.98 kB / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.3037, allocations: 0 / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.3038, allocations: 7.984 kB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.304, allocations: 15.98 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.304, allocations: 4 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.3044, allocations: 263.6 kB / 0.7878 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3044, allocations: 4 kB / 0.7878 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.3044, allocations: 7.938 kB / 0.7878 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4423/0.7467, allocations: 210 kB / 0.788 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7468, allocations: 0 / 0.788 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7468, allocations: 0 / 0.788 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.7468, allocations: 2.625 kB / 0.788 GB, free: 46.85 MB / 0.6544 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.0003966/0.7472, allocations: 374.4 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7473, allocations: 13.78 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.7474, allocations: 79.94 kB / 0.7884 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.7475, allocations: 247.2 kB / 0.7886 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.7475, allocations: 154.9 kB / 0.7888 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.7475, allocations: 155 kB / 0.7889 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.927e-05/0.7476, allocations: 105.3 kB / 0.789 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.7476, allocations: 78.56 kB / 0.7891 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.7476, allocations: 156.8 kB / 0.7893 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.7477, allocations: 150.6 kB / 0.7894 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.7477, allocations: 151.2 kB / 0.7896 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.7479, allocations: 447.8 kB / 0.79 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.748, allocations: 175.7 kB / 0.7902 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.748, allocations: 82.27 kB / 0.7902 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.748, allocations: 75.84 kB / 0.7903 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.748, allocations: 110.8 kB / 0.7904 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.748, allocations: 0 / 0.7904 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.835e-05/0.7481, allocations: 33.64 kB / 0.7904 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.7482, allocations: 216.9 kB / 0.7906 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.7483, allocations: 94.92 kB / 0.7907 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.7483, allocations: 26.55 kB / 0.7908 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.7483, allocations: 83.36 kB / 0.7908 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.7483, allocations: 0.7812 kB / 0.7908 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.7484, allocations: 21.14 kB / 0.7909 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.7484, allocations: 313.5 kB / 0.7912 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.7484, allocations: 0 / 0.7912 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.7485, allocations: 20.42 kB / 0.7912 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.506e-05/0.7485, allocations: 76.84 kB / 0.7913 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.7485, allocations: 75.28 kB / 0.7913 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.907e-05/0.7486, allocations: 39.02 kB / 0.7914 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.7486, allocations: 84.69 kB / 0.7914 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7486, allocations: 79.22 kB / 0.7915 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/0.7487, allocations: 157.2 kB / 0.7917 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.184e-05/0.7487, allocations: 78.09 kB / 0.7917 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.7487, allocations: 153.8 kB / 0.7919 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.7489, allocations: 80.7 kB / 0.792 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.7489, allocations: 83.12 kB / 0.792 GB, free: 42.64 MB / 0.6544 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 8.499e-05/0.749, allocations: 269.9 kB / 0.7923 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.749, allocations: 104.9 kB / 0.7924 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.7491, allocations: 109.7 kB / 0.7925 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/0.7491, allocations: 179.7 kB / 0.7927 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.072e-05/0.7491, allocations: 177.9 kB / 0.7929 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/0.7492, allocations: 188.1 kB / 0.793 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.7493, allocations: 406.2 kB / 0.7934 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.7494, allocations: 105.6 kB / 0.7935 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.7494, allocations: 102.5 kB / 0.7936 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.934e-05/0.7494, allocations: 185 kB / 0.7938 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.7494, allocations: 179.8 kB / 0.794 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-05/0.7495, allocations: 180.9 kB / 0.7941 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.864e-05/0.7495, allocations: 188 kB / 0.7943 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.378e-05/0.7496, allocations: 299.9 kB / 0.7946 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.7496, allocations: 190.7 kB / 0.7948 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.7497, allocations: 179 kB / 0.795 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7498, allocations: 114.7 kB / 0.7951 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.7498, allocations: 180.8 kB / 0.7952 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.7499, allocations: 103.8 kB / 0.7953 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.7499, allocations: 83.38 kB / 0.7954 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7499, allocations: 2.031 kB / 0.7954 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004124/0.7503, allocations: 76.86 kB / 0.7955 GB, free: 39.08 MB / 0.6544 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.0007208/0.751, allocations: 398.8 kB / 0.7959 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.549e-05/0.7511, allocations: 4.531 kB / 0.7959 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7511, allocations: 3.938 kB / 0.7959 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.7511, allocations: 0 / 0.7959 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7514, allocations: 457.4 kB / 0.7963 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.7517, allocations: 194.2 kB / 0.7965 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.7518, allocations: 0.669 MB / 0.7972 GB, free: 37.56 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.7518, allocations: 20.42 kB / 0.7972 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7518, allocations: 0 / 0.7972 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.003824/0.7557, allocations: 2.013 MB / 0.7991 GB, free: 37.38 MB / 0.6544 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)