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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 105.4 kB / 15.7 MB, free: 24 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.001098/0.001098, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.286/1.286, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.64/1.64, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00138/0.00138, allocations: 69.38 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1953, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00252/0.1978, allocations: 1.224 MB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1997, allocations: 1.25 MB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1998, allocations: 4 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.1998, allocations: 0 / 0.7861 GB, free: 10.77 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.0006964/0.2005, allocations: 211.2 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.732e-05/0.2007, allocations: 35.95 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.2007, allocations: 11.98 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.2008, allocations: 11.92 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.2008, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.201, allocations: 17.48 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.201, allocations: 0 / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.2013, allocations: 263.7 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.2014, allocations: 3.938 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2014, allocations: 15.97 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2017, allocations: 207.6 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2017, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2017, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2017, allocations: 0 / 0.7868 GB, free: 10 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.0003597/0.2021, allocations: 391.6 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2021, allocations: 15.97 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.2022, allocations: 110 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.2023, allocations: 76.22 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2024, allocations: 243.7 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.2025, allocations: 150.9 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.2025, allocations: 158.9 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.722e-05/0.2026, allocations: 108.9 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.2026, allocations: 79.28 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.2027, allocations: 150.6 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.2027, allocations: 150.6 kB / 0.7884 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.2028, allocations: 154.6 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.203, allocations: 445.9 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.2031, allocations: 173.1 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.2031, allocations: 80.14 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2032, allocations: 83.22 kB / 0.7893 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2032, allocations: 105.8 kB / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2032, allocations: 0 / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.625e-05/0.2033, allocations: 37.64 kB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.2034, allocations: 207.8 kB / 0.7896 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.2035, allocations: 97.84 kB / 0.7897 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2035, allocations: 25.7 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.2035, allocations: 84.14 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-06/0.2035, allocations: 0 / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.2036, allocations: 13.77 kB / 0.7898 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2037, allocations: 318.8 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.2037, allocations: 4 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.2037, allocations: 22.61 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.2038, allocations: 75.28 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.2038, allocations: 83.22 kB / 0.7903 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.569e-05/0.2039, allocations: 33.64 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.2039, allocations: 87.22 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.2039, allocations: 83.27 kB / 0.7905 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.534e-05/0.204, allocations: 150.6 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.204, allocations: 79.22 kB / 0.7907 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.632e-05/0.2041, allocations: 154.6 kB / 0.7909 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2042, allocations: 79.22 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.2042, allocations: 79.28 kB / 0.791 GB, free: 5.43 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.0001069/0.2044, allocations: 268.4 kB / 0.7913 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.2044, allocations: 108.9 kB / 0.7914 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.2045, allocations: 111.8 kB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-05/0.2045, allocations: 180.3 kB / 0.7916 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-05/0.2046, allocations: 184.2 kB / 0.7918 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/0.2047, allocations: 192.2 kB / 0.792 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.2049, allocations: 393.2 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.2049, allocations: 116.8 kB / 0.7925 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.2049, allocations: 101 kB / 0.7926 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-05/0.205, allocations: 188.2 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.2051, allocations: 176.3 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.562e-05/0.2051, allocations: 184.3 kB / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.385e-05/0.2052, allocations: 180.2 kB / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.2053, allocations: 307.8 kB / 0.7936 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.2054, allocations: 182 kB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.2054, allocations: 188.2 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2056, allocations: 104.9 kB / 0.794 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2056, allocations: 184.3 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.2057, allocations: 104.9 kB / 0.7943 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.2057, allocations: 87.48 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2057, allocations: 0 / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003784/0.2061, allocations: 79.92 kB / 0.7945 GB, free: 1.656 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.0009117/0.207, allocations: 1.022 MB / 0.7955 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.471e-05/0.2071, allocations: 15.92 kB / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2071, allocations: 0 / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.2071, allocations: 4 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2074, allocations: 459.7 kB / 0.7959 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.2085, allocations: 1.595 MB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2087, allocations: 0.6729 MB / 0.7981 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.2088, allocations: 8 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.2088, allocations: 11.44 kB / 0.7982 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2088, allocations: 0 / 0.7982 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2298, allocations: 3.049 MB / 0.8011 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.429, allocations: 4.531 kB / 0.8011 GB, free: 10.89 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)