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.001118/0.001118, allocations: 111.9 kB / 15.61 MB, free: 128 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.001099/0.001099, allocations: 196.9 kB / 16.54 MB, free: 6.668 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.154/1.154, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.507/1.507, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001266/0.001266, allocations: 71.45 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1621, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001961/0.1641, allocations: 1.223 MB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1656, allocations: 1.239 MB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.592e-05/0.1656, allocations: 4 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1656, allocations: 0 / 0.7859 GB, free: 10.85 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.0005694/0.1662, allocations: 211.3 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.565e-05/0.1663, allocations: 47.83 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.708e-05/0.1664, allocations: 7.984 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.009e-05/0.1664, allocations: 4 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1664, allocations: 7.938 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1666, allocations: 22.81 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1666, allocations: 3.938 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.1669, allocations: 239.7 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1669, allocations: 7.984 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.1669, allocations: 7.938 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1672, allocations: 211.6 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1672, allocations: 0 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1672, allocations: 0 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1672, allocations: 0 / 0.7866 GB, free: 10.09 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.0003433/0.1676, allocations: 387.7 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1676, allocations: 8.031 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1677, allocations: 114 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.1677, allocations: 76.22 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1679, allocations: 247.6 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1679, allocations: 158.9 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1679, allocations: 150.9 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.402e-05/0.168, allocations: 104.9 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.168, allocations: 83.22 kB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.1681, allocations: 150.6 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.1681, allocations: 150.6 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.1681, allocations: 150.6 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.1684, allocations: 449.9 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.1684, allocations: 169.1 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.1684, allocations: 88.08 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1685, allocations: 79.22 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1685, allocations: 109.8 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1685, allocations: 0 / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.052e-05/0.1686, allocations: 25.7 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.1687, allocations: 211.8 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.1687, allocations: 101.8 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1687, allocations: 25.7 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1688, allocations: 80.14 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.1688, allocations: 0 / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.1688, allocations: 13.77 kB / 0.7896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.1689, allocations: 318.8 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-06/0.1689, allocations: 7.938 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.1689, allocations: 26.59 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.169, allocations: 75.28 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.169, allocations: 75.28 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.966e-05/0.169, allocations: 33.64 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1691, allocations: 83.28 kB / 0.7902 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.1691, allocations: 79.22 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.1691, allocations: 154.6 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-05/0.1692, allocations: 83.2 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.582e-05/0.1692, allocations: 158.5 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1693, allocations: 79.28 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1694, allocations: 79.22 kB / 0.7908 GB, free: 5.523 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 8.476e-05/0.1695, allocations: 264.4 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.1695, allocations: 112.9 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1696, allocations: 108.1 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/0.1696, allocations: 188.1 kB / 0.7915 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-05/0.1697, allocations: 176.3 kB / 0.7916 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-05/0.1697, allocations: 184.2 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1699, allocations: 405.2 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.1699, allocations: 104.9 kB / 0.7923 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.1699, allocations: 112.9 kB / 0.7924 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.434e-05/0.17, allocations: 180.3 kB / 0.7926 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.17, allocations: 180.2 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.119e-05/0.1701, allocations: 180.3 kB / 0.7929 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.404e-05/0.1701, allocations: 188.2 kB / 0.7931 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.347e-05/0.1702, allocations: 299.8 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.1703, allocations: 186 kB / 0.7936 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.1703, allocations: 188.5 kB / 0.7937 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1705, allocations: 108.9 kB / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1705, allocations: 176.3 kB / 0.794 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.1706, allocations: 109 kB / 0.7941 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.1706, allocations: 75.28 kB / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1706, allocations: 0 / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003251/0.1709, allocations: 83.97 kB / 0.7943 GB, free: 1.762 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.0007111/0.1716, allocations: 1.025 MB / 0.7953 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.922e-05/0.1717, allocations: 12 kB / 0.7953 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1717, allocations: 0 / 0.7953 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1717, allocations: 4 kB / 0.7953 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.172, allocations: 463.6 kB / 0.7957 GB, free: 296 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.1729, allocations: 1.591 MB / 0.7973 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.1731, allocations: 0.6768 MB / 0.7979 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.1731, allocations: 11.98 kB / 0.7979 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.1731, allocations: 11.44 kB / 0.798 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.1731, allocations: 0 / 0.798 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/0.3917, allocations: 3.036 MB / 0.8009 GB, free: 11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.761, allocations: 8.281 kB / 0.8009 GB, free: 10.99 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)