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.001166/0.001166, 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.001502/0.001502, allocations: 195.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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.727/1.727, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001403/0.001403, allocations: 66.5 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2064, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002361/0.2088, allocations: 1.229 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2107, allocations: 1.242 MB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2107, allocations: 3.938 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.2108, allocations: 0 / 0.7865 GB, free: 10.22 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.000695/0.2115, allocations: 219.2 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.913e-05/0.2116, allocations: 35.95 kB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.2116, allocations: 19.92 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.2117, allocations: 0 / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.2117, allocations: 11.98 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2119, allocations: 8.656 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.2119, allocations: 0 / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.2123, allocations: 263.7 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.2123, allocations: 7.922 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.2123, allocations: 7.938 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2126, allocations: 207.7 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2127, allocations: 4 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2127, allocations: 0 / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2127, allocations: 0 / 0.7873 GB, free: 9.453 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.0003706/0.213, allocations: 379.5 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2131, allocations: 15.97 kB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.2132, allocations: 80.12 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2133, allocations: 243.6 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.2134, allocations: 166.9 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.2134, allocations: 150.9 kB / 0.7883 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.651e-05/0.2135, allocations: 105.1 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2135, allocations: 75.28 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.2136, allocations: 150.6 kB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.2136, allocations: 150.6 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.2137, allocations: 154.6 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.214, allocations: 449.9 kB / 0.7893 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.2141, allocations: 169.1 kB / 0.7895 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.2141, allocations: 80.14 kB / 0.7896 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2141, allocations: 79.28 kB / 0.7896 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.2142, allocations: 117.8 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2142, allocations: 0 / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.531e-05/0.2143, allocations: 29.64 kB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.2144, allocations: 207.8 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.2145, allocations: 97.84 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2145, allocations: 25.7 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2145, allocations: 88.14 kB / 0.7902 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2145, allocations: 0 / 0.7902 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.2146, allocations: 13.72 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2147, allocations: 310.9 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.2147, allocations: 4 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.2147, allocations: 30.59 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.2148, allocations: 75.28 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.2148, allocations: 79.28 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.069e-05/0.2149, allocations: 37.58 kB / 0.7907 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.2149, allocations: 87.22 kB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.2149, allocations: 75.28 kB / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-05/0.215, allocations: 150.6 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.972e-05/0.215, allocations: 79.22 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.341e-05/0.2151, allocations: 154.5 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2153, allocations: 95.22 kB / 0.7913 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.2153, allocations: 75.28 kB / 0.7914 GB, free: 4.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.0001125/0.2154, allocations: 263.7 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.2155, allocations: 108.9 kB / 0.7917 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.2155, allocations: 116 kB / 0.7919 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/0.2156, allocations: 184.3 kB / 0.792 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-05/0.2157, allocations: 184.2 kB / 0.7922 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.297e-05/0.2157, allocations: 180.3 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.216, allocations: 401.2 kB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/0.216, allocations: 108.9 kB / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.2161, allocations: 112.9 kB / 0.793 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-05/0.2161, allocations: 188.2 kB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.2162, allocations: 176.3 kB / 0.7933 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.05e-05/0.2163, allocations: 180.2 kB / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-05/0.2163, allocations: 180.3 kB / 0.7937 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2165, allocations: 311.8 kB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.2165, allocations: 182 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.2166, allocations: 184.2 kB / 0.7943 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2168, allocations: 109 kB / 0.7944 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.2168, allocations: 176.3 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.2169, allocations: 112.9 kB / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.2169, allocations: 75.28 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2169, allocations: 0 / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003979/0.2173, allocations: 87.91 kB / 0.7948 GB, free: 1.227 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.0006645/0.218, allocations: 387 kB / 0.7952 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.74e-05/0.218, allocations: 8 kB / 0.7952 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2181, allocations: 4 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2181, allocations: 32 / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2184, allocations: 462.4 kB / 0.7957 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.2187, allocations: 172.7 kB / 0.7958 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2189, allocations: 0.6768 MB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.219, allocations: 11.94 kB / 0.7965 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.219, allocations: 11.44 kB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.219, allocations: 0 / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.004709/0.2237, allocations: 2.054 MB / 0.7985 GB, free: 13.45 MB / 0.6231 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)