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.001089/0.001089, 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.001169/0.001169, allocations: 198.9 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.222/1.222, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.575/1.575, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001328/0.001328, allocations: 67.27 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1885, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002037/0.1906, allocations: 1.229 MB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1921, allocations: 1.246 MB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.1922, allocations: 0 / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.1922, allocations: 0 / 0.7861 GB, free: 10.76 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.0006103/0.1928, allocations: 215.2 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.186e-05/0.1929, allocations: 42.83 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.193, allocations: 11.94 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.193, allocations: 4 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.193, allocations: 11.92 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1932, allocations: 12.64 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1932, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.1935, allocations: 267.6 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.1935, allocations: 7.938 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.1936, allocations: 4 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1938, allocations: 207.7 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1939, allocations: 4 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1939, allocations: 0 / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1939, allocations: 0 / 0.7868 GB, free: 9.988 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.0003359/0.1942, allocations: 387.6 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1942, allocations: 8.031 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.1943, allocations: 106 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.1944, allocations: 88.14 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1945, allocations: 239.7 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.1945, allocations: 154.9 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.1946, allocations: 150.9 kB / 0.7879 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.533e-05/0.1946, allocations: 108.9 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1947, allocations: 79.27 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.1947, allocations: 150.6 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.1948, allocations: 154.6 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.1948, allocations: 154.5 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.195, allocations: 450 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.467e-05/0.1951, allocations: 165.1 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.1951, allocations: 88.14 kB / 0.7892 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1952, allocations: 83.2 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.1952, allocations: 109.8 kB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1952, allocations: 0 / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.583e-05/0.1953, allocations: 29.64 kB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.1954, allocations: 203.8 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.1955, allocations: 101.8 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1955, allocations: 33.7 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.1955, allocations: 80.14 kB / 0.7898 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.1955, allocations: 0 / 0.7898 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.1956, allocations: 13.77 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.1957, allocations: 318.8 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/0.1957, allocations: 0 / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.1957, allocations: 26.59 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.1957, allocations: 79.28 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.1958, allocations: 79.22 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.282e-05/0.1958, allocations: 37.58 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.1959, allocations: 86.19 kB / 0.7904 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.1959, allocations: 79.28 kB / 0.7905 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-05/0.1959, allocations: 154.5 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.913e-05/0.196, allocations: 75.28 kB / 0.7907 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.321e-05/0.196, allocations: 158.6 kB / 0.7909 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1962, allocations: 87.44 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1962, allocations: 75.28 kB / 0.791 GB, free: 5.414 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 9.494e-05/0.1963, allocations: 263.2 kB / 0.7913 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.1964, allocations: 108.9 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.1964, allocations: 127.9 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.125e-05/0.1965, allocations: 176.3 kB / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.103e-05/0.1965, allocations: 180.2 kB / 0.7918 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.763e-05/0.1966, allocations: 176.3 kB / 0.792 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1968, allocations: 409.2 kB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/0.1968, allocations: 108.9 kB / 0.7925 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1968, allocations: 108.9 kB / 0.7926 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-05/0.1969, allocations: 180.3 kB / 0.7928 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.1969, allocations: 180.2 kB / 0.7929 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-05/0.197, allocations: 180.2 kB / 0.7931 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.846e-05/0.197, allocations: 184.3 kB / 0.7933 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1972, allocations: 307.8 kB / 0.7936 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.1972, allocations: 182 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.1973, allocations: 184.2 kB / 0.7939 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1974, allocations: 105 kB / 0.794 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1975, allocations: 188.2 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1975, allocations: 109 kB / 0.7943 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.1975, allocations: 75.28 kB / 0.7944 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1976, allocations: 0 / 0.7944 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00034/0.1979, allocations: 83.92 kB / 0.7945 GB, free: 1.648 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.0007974/0.1987, allocations: 1.021 MB / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.087e-05/0.1987, allocations: 8 kB / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1988, allocations: 4 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1988, allocations: 0 / 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.0003184/0.1991, 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.0009927/0.2001, allocations: 1.599 MB / 0.7975 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2003, allocations: 0.6729 MB / 0.7981 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.2003, allocations: 7.938 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2004, allocations: 15.42 kB / 0.7981 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2004, allocations: 0 / 0.7981 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.2175, allocations: 3.064 MB / 0.8011 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.422, allocations: 17.69 kB / 0.8012 GB, free: 10.87 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --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)