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.0008324/0.0008324, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.004647/0.004647, allocations: 173.2 kB / 16.26 MB, free: 6.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.15/1.15, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.509/1.509, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004474/0.0004474, allocations: 17.67 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00108/0.1747, allocations: 0.947 MB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1763, allocations: 1.235 MB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.1763, allocations: 8 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.1763, allocations: 0 / 0.7901 GB, free: 9.273 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.0004594/0.1768, allocations: 159.6 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.052e-05/0.1769, allocations: 27.95 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.83e-05/0.1769, allocations: 15.94 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.177, allocations: 3.984 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.177, allocations: 19.92 kB / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1771, allocations: 16.62 kB / 0.7904 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1772, allocations: 0 / 0.7904 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1775, allocations: 231.7 kB / 0.7906 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.1775, allocations: 8 kB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.1775, allocations: 33.64 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1778, allocations: 207.7 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1778, allocations: 0 / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1778, allocations: 3.938 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.1778, allocations: 0 / 0.7908 GB, free: 8.555 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.0003205/0.1781, allocations: 375.8 kB / 0.7912 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1782, allocations: 11.97 kB / 0.7912 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1782, allocations: 110 kB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1783, allocations: 88.11 kB / 0.7914 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1784, allocations: 243.7 kB / 0.7916 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.1785, allocations: 158.9 kB / 0.7918 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.1785, allocations: 150.9 kB / 0.7919 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.464e-05/0.1785, allocations: 104.9 kB / 0.792 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.1786, allocations: 75.28 kB / 0.7921 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1786, allocations: 158.5 kB / 0.7922 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.1787, allocations: 154.5 kB / 0.7924 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.1787, allocations: 150.6 kB / 0.7925 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.1789, allocations: 446 kB / 0.793 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.179, allocations: 169.1 kB / 0.7931 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.179, allocations: 84.14 kB / 0.7932 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1791, allocations: 87.14 kB / 0.7933 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.1791, allocations: 113.9 kB / 0.7934 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.1791, allocations: 0 / 0.7934 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.019e-05/0.1792, allocations: 25.7 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.1793, allocations: 211.8 kB / 0.7936 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.1793, allocations: 101.8 kB / 0.7937 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1794, allocations: 25.7 kB / 0.7937 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.1794, allocations: 80.14 kB / 0.7938 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.1794, allocations: 0 / 0.7938 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.1794, allocations: 9.719 kB / 0.7938 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.1795, allocations: 310.8 kB / 0.7941 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-06/0.1795, allocations: 0 / 0.7941 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.1796, allocations: 30.52 kB / 0.7942 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.1796, allocations: 79.28 kB / 0.7942 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/0.1796, allocations: 75.28 kB / 0.7943 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.972e-05/0.1797, allocations: 33.62 kB / 0.7943 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1797, allocations: 83.28 kB / 0.7944 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.1797, allocations: 75.28 kB / 0.7945 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.775e-05/0.1798, allocations: 158.5 kB / 0.7946 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-05/0.1798, allocations: 75.28 kB / 0.7947 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.253e-05/0.1799, allocations: 158.5 kB / 0.7949 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.18, allocations: 75.28 kB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.18, allocations: 87.27 kB / 0.795 GB, free: 3.996 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.0001146/0.1802, allocations: 267.6 kB / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.1802, allocations: 108.9 kB / 0.7954 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.1803, allocations: 104.1 kB / 0.7955 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/0.1803, allocations: 184.1 kB / 0.7957 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-05/0.1804, allocations: 188.2 kB / 0.7958 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-05/0.1804, allocations: 184.1 kB / 0.796 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1806, allocations: 401.2 kB / 0.7964 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/0.1806, allocations: 116.9 kB / 0.7965 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.1807, allocations: 108.9 kB / 0.7966 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.835e-05/0.1807, allocations: 176.3 kB / 0.7968 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.1808, allocations: 180.2 kB / 0.7969 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.877e-05/0.1808, allocations: 180.3 kB / 0.7971 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-05/0.1809, allocations: 184.6 kB / 0.7973 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.181, allocations: 308 kB / 0.7976 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1811, allocations: 190 kB / 0.7978 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.1811, allocations: 184.3 kB / 0.7979 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1813, allocations: 113 kB / 0.7981 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.1813, allocations: 184.2 kB / 0.7982 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1814, allocations: 101 kB / 0.7983 GB, free: 392 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1814, allocations: 79.28 kB / 0.7984 GB, free: 312 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 0 / 0.7984 GB, free: 312 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003315/0.1817, allocations: 75.98 kB / 0.7985 GB, free: 236 kB / 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.0007942/0.1825, allocations: 1.032 MB / 0.7995 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 2.862e-05/0.1826, allocations: 4 kB / 0.7995 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1826, allocations: 0 / 0.7995 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.1826, allocations: 4 kB / 0.7995 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1829, allocations: 0.5224 MB / 0.8 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.1839, allocations: 1.605 MB / 0.8016 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1841, allocations: 0.6731 MB / 0.8022 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.1842, allocations: 8 kB / 0.8022 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1842, allocations: 15.42 kB / 0.8022 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.1842, allocations: 0 / 0.8022 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.2085, allocations: 2.828 MB / 0.805 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.2087, allocations: 256.5 kB / 0.8053 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.888, allocations: 0 / 0.8053 GB, free: 9.348 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)