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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.526/1.526, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.683/1.683, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001464/0.001464, allocations: 71.33 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2221, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002255/0.2244, allocations: 1.231 MB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2262, allocations: 1.247 MB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.2263, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.2263, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 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.0006786/0.227, allocations: 215.3 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.2271, allocations: 35.89 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.2272, allocations: 15.92 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.2272, allocations: 3.938 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.2272, allocations: 4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.2274, allocations: 16.64 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2274, allocations: 4 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.2277, allocations: 235.7 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2278, allocations: 11.97 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.2278, allocations: 3.938 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.2281, allocations: 211.6 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2281, allocations: 0 / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2281, allocations: 7.938 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2281, allocations: 0 / 0.7865 GB, free: 10.23 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.0003464/0.2285, allocations: 371.8 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2285, allocations: 12.03 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.2286, allocations: 80.12 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2287, allocations: 255.5 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.2288, allocations: 150.9 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.2288, allocations: 154.9 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.2289, allocations: 105.1 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.2289, allocations: 75.28 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.229, allocations: 154.5 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.229, allocations: 150.6 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/0.2291, allocations: 166.5 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.2294, allocations: 441.9 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.2295, allocations: 169.1 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.2295, allocations: 84.14 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2295, allocations: 75.28 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.2296, allocations: 117.7 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.2296, allocations: 0 / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.2297, allocations: 25.7 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.2297, allocations: 207.8 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.2298, allocations: 101.8 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2299, allocations: 25.7 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.2299, allocations: 80.14 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.2299, allocations: 4 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.2299, allocations: 13.72 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.23, allocations: 314.8 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.2301, allocations: 48 / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.2301, allocations: 34.53 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.2301, allocations: 75.28 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/0.2302, allocations: 83.28 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.508e-05/0.2302, allocations: 29.64 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.2303, allocations: 85.94 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.2303, allocations: 75.28 kB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.686e-05/0.2304, allocations: 154.5 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-05/0.2304, allocations: 83.27 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/0.2304, allocations: 158.5 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2306, allocations: 79.28 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2306, allocations: 79.28 kB / 0.7906 GB, free: 5.785 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.0001048/0.2307, allocations: 259.7 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.2308, allocations: 120.8 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.2308, allocations: 108 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-05/0.2309, allocations: 188.1 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.088e-05/0.231, allocations: 180.3 kB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.078e-05/0.231, allocations: 176.3 kB / 0.7916 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2312, allocations: 405.2 kB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.2313, allocations: 105 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.2313, allocations: 112.8 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.911e-05/0.2314, allocations: 180.3 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.2314, allocations: 184.3 kB / 0.7925 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-05/0.2315, allocations: 188.2 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-05/0.2315, allocations: 176.3 kB / 0.7929 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.2317, allocations: 307.8 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.2317, allocations: 190 kB / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.2318, allocations: 180.3 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2319, allocations: 105 kB / 0.7936 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.232, allocations: 184.2 kB / 0.7938 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.232, allocations: 101 kB / 0.7939 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.2321, allocations: 79.28 kB / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2321, allocations: 4 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004206/0.2325, allocations: 83.97 kB / 0.794 GB, free: 2.02 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.0006838/0.2332, allocations: 393.8 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.669e-05/0.2332, allocations: 7.938 kB / 0.7944 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2333, allocations: 4 kB / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.2333, allocations: 0 / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.2336, allocations: 455.7 kB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.2338, allocations: 168.7 kB / 0.795 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.234, allocations: 0.6768 MB / 0.7957 GB, free: 324 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.2341, allocations: 8 kB / 0.7957 GB, free: 316 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.2341, allocations: 11.44 kB / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2341, allocations: 0 / 0.7957 GB, free: 304 kB / 0.6075 GB Notification: Performance of Templates: time 0.004775/0.2389, allocations: 2.06 MB / 0.7977 GB, free: 14.25 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)