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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001204/0.001204, allocations: 187.7 kB / 16.25 MB, free: 6.637 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.161/1.161, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.473/1.473, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.00133/0.00133, allocations: 70.34 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 114.6 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002105/0.167, allocations: 1.294 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1686, allocations: 1.227 MB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.1686, allocations: 0 / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1686, allocations: 0 / 0.7854 GB, free: 11.21 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.000616/0.1693, allocations: 187.5 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.222e-05/0.1694, allocations: 31.95 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.1694, allocations: 19.88 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.1695, allocations: 8 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.1695, allocations: 7.984 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1696, allocations: 19.91 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.1697, allocations: 0 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.17, allocations: 243.7 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.17, allocations: 4 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.17, allocations: 7.922 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.1703, allocations: 203.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1703, allocations: 3.938 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1703, allocations: 0 / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1703, allocations: 0 / 0.7861 GB, free: 10.49 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.0003622/0.1707, allocations: 391.7 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1707, allocations: 8.031 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.1708, allocations: 114 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1708, allocations: 76.22 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1709, allocations: 243.7 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.171, allocations: 150.9 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.171, allocations: 158.9 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.776e-05/0.1711, allocations: 104.9 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1711, allocations: 75.28 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.1712, allocations: 154.5 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.1712, allocations: 150.6 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.1713, allocations: 154.5 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.1715, allocations: 453.9 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.019e-05/0.1715, allocations: 165.1 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.1716, allocations: 80.14 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1716, allocations: 87.16 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.1716, allocations: 113.9 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1717, allocations: 0 / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.273e-05/0.1717, allocations: 29.7 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.1718, allocations: 215.7 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.1719, allocations: 97.86 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1719, allocations: 25.7 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1719, allocations: 84.12 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.172, allocations: 4 kB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.172, allocations: 17.7 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.1721, allocations: 314.8 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-06/0.1721, allocations: 0 / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.1721, allocations: 22.52 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.1721, allocations: 75.28 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.1722, allocations: 75.28 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.134e-05/0.1722, allocations: 37.64 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1723, allocations: 83.27 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.1723, allocations: 79.28 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.582e-05/0.1723, allocations: 154.5 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.1724, allocations: 75.28 kB / 0.79 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.085e-05/0.1724, allocations: 158.5 kB / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1725, allocations: 83.28 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1726, allocations: 79.27 kB / 0.7903 GB, free: 5.918 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.234e-05/0.1727, allocations: 268.3 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.1727, allocations: 104.9 kB / 0.7907 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.1728, allocations: 112.1 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-05/0.1728, allocations: 180.2 kB / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-05/0.1729, allocations: 188.2 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/0.1729, allocations: 184.2 kB / 0.7913 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.1731, allocations: 401.2 kB / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/0.1731, allocations: 108.9 kB / 0.7918 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.1732, allocations: 108.9 kB / 0.7919 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.848e-05/0.1732, allocations: 180.6 kB / 0.7921 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.1733, allocations: 180.2 kB / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.54e-05/0.1733, allocations: 176.3 kB / 0.7924 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-05/0.1734, allocations: 188.3 kB / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1735, allocations: 307.8 kB / 0.7929 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1736, allocations: 186 kB / 0.7931 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.1736, allocations: 184.2 kB / 0.7933 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.1738, allocations: 105 kB / 0.7934 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.1738, allocations: 180.2 kB / 0.7935 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.1738, allocations: 105 kB / 0.7936 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.1739, allocations: 83.27 kB / 0.7937 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1739, allocations: 0 / 0.7937 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003544/0.1742, allocations: 79.98 kB / 0.7938 GB, free: 2.156 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.0008134/0.1751, allocations: 1.038 MB / 0.7948 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.724e-05/0.1751, allocations: 8 kB / 0.7948 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1751, allocations: 0 / 0.7948 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1751, allocations: 0 / 0.7948 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1754, allocations: 455.7 kB / 0.7952 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.1764, allocations: 1.598 MB / 0.7968 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.1766, allocations: 0.6729 MB / 0.7975 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.1766, allocations: 4 kB / 0.7975 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.1766, allocations: 11.44 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.1766, allocations: 3.938 kB / 0.7975 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.793/0.9697, allocations: 2.963 MB / 0.8004 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.9699, allocations: 272.2 kB / 0.8006 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.59, allocations: 1.375 kB / 0.8006 GB, free: 11.19 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)