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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 101.3 kB / 16.27 MB, free: 6.418 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.001473/0.001473, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.429/1.429, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.741/1.741, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001411/0.001411, allocations: 75.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2565, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002505/0.2591, allocations: 1.227 MB / 0.7852 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.261, allocations: 1.252 MB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.2611, allocations: 0 / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.2611, allocations: 0 / 0.7864 GB, free: 1.355 MB / 0.6544 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.0007183/0.2618, allocations: 207.3 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.262, allocations: 39.89 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.262, allocations: 15.92 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.2621, allocations: 3.984 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.2621, allocations: 4 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.2623, allocations: 11.98 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2623, allocations: 7.938 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2627, allocations: 235.7 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.2627, allocations: 0 / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.2627, allocations: 11.92 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.263, allocations: 207.6 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2631, allocations: 4 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2631, allocations: 0 / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2631, allocations: 0 / 0.7872 GB, free: 0.6211 MB / 0.6544 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.000412/0.2635, allocations: 379.8 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2635, allocations: 12.03 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.2636, allocations: 76.22 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3829/0.6466, allocations: 245.3 kB / 0.7878 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.6467, allocations: 153.8 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.6467, allocations: 152.2 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.789e-05/0.6468, allocations: 104.9 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.6468, allocations: 79.38 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.6468, allocations: 152.5 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.6469, allocations: 153.6 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.6469, allocations: 154.5 kB / 0.7887 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.6471, allocations: 449.6 kB / 0.7892 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.6472, allocations: 169.2 kB / 0.7893 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.6472, allocations: 88.05 kB / 0.7894 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.6472, allocations: 75.28 kB / 0.7895 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.6473, allocations: 110.2 kB / 0.7896 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.6473, allocations: 0 / 0.7896 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.94e-05/0.6474, allocations: 34.81 kB / 0.7896 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.6475, allocations: 209.6 kB / 0.7898 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6476, allocations: 104.9 kB / 0.7899 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.6476, allocations: 26.98 kB / 0.79 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.6476, allocations: 81.7 kB / 0.79 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.6476, allocations: 0 / 0.79 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.6477, allocations: 16.59 kB / 0.7901 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.6477, allocations: 315.2 kB / 0.7904 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.6478, allocations: 5.031 kB / 0.7904 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.6478, allocations: 17.67 kB / 0.7904 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.6478, allocations: 76.34 kB / 0.7904 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.6478, allocations: 77.47 kB / 0.7905 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.847e-05/0.6479, allocations: 39.06 kB / 0.7906 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.6479, allocations: 80.44 kB / 0.7906 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.648, allocations: 76.38 kB / 0.7907 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.648, allocations: 157.2 kB / 0.7909 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.664e-05/0.648, allocations: 78.5 kB / 0.7909 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.245e-05/0.6481, allocations: 158.4 kB / 0.7911 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.6482, allocations: 87.64 kB / 0.7912 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.6483, allocations: 80.97 kB / 0.7912 GB, free: 45.09 MB / 0.6544 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.281e-05/0.6484, allocations: 261.8 kB / 0.7915 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.6484, allocations: 103.3 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.6484, allocations: 118.2 kB / 0.7917 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.6485, allocations: 179 kB / 0.7919 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-05/0.6485, allocations: 187.4 kB / 0.7921 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.6486, allocations: 181.3 kB / 0.7922 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.6487, allocations: 404 kB / 0.7926 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.6487, allocations: 103.4 kB / 0.7927 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.6488, allocations: 105.8 kB / 0.7928 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.269e-05/0.6488, allocations: 182.3 kB / 0.793 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.6489, allocations: 181.1 kB / 0.7932 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.659e-05/0.6489, allocations: 182.4 kB / 0.7933 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-05/0.6489, allocations: 185.5 kB / 0.7935 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.408e-05/0.649, allocations: 307.6 kB / 0.7938 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.649, allocations: 181.2 kB / 0.794 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.6491, allocations: 183.7 kB / 0.7942 GB, free: 42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.6492, allocations: 106.5 kB / 0.7943 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.6493, allocations: 194 kB / 0.7944 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.6493, allocations: 101.5 kB / 0.7945 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.6493, allocations: 78.5 kB / 0.7946 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6493, allocations: 0 / 0.7946 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004353/0.6498, allocations: 81.16 kB / 0.7947 GB, free: 41.53 MB / 0.6544 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.0007436/0.6505, allocations: 407.7 kB / 0.7951 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 4.867e-05/0.6506, allocations: 2.906 kB / 0.7951 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6506, allocations: 0 / 0.7951 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.6506, allocations: 0 / 0.7951 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.6509, allocations: 461.5 kB / 0.7955 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.6511, allocations: 185.1 kB / 0.7957 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.6512, allocations: 0.6752 MB / 0.7964 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.6513, allocations: 13.28 kB / 0.7964 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.6513, allocations: 0 / 0.7964 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.003601/0.6549, allocations: 2.011 MB / 0.7983 GB, free: 39.85 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (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 & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)