Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 303.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 187.1 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007191/0.000719, allocations: 74.95 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 11.28 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001219/0.2121, allocations: 0.955 MB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2136, allocations: 1.172 MB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.2137, allocations: 0 / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.2137, allocations: 0 / 0.9822 GB, free: 25.18 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0005096/0.2142, allocations: 167.5 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.2143, allocations: 30.08 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.2144, allocations: 11.98 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.2144, allocations: 3.984 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.102e-05/0.2145, allocations: 15.94 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2146, allocations: 11.98 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2146, allocations: 0 / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.2149, allocations: 227.6 kB / 0.9827 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.2149, allocations: 4 kB / 0.9827 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.2149, allocations: 25.7 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.2151, allocations: 135.8 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2151, allocations: 0 / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2151, allocations: 0 / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2152, allocations: 0 / 0.9828 GB, free: 24.56 MB / 0.6198 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.0002543/0.2154, allocations: 379.8 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2155, allocations: 8.031 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2155, allocations: 76.22 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.021e-05/0.2156, allocations: 259.4 kB / 0.9835 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2156, allocations: 150.9 kB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.2157, allocations: 150.9 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.833e-05/0.2157, allocations: 109.1 kB / 0.9839 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2157, allocations: 75.28 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2158, allocations: 150.6 kB / 0.9841 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.2158, allocations: 150.6 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.2158, allocations: 158.5 kB / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.216, allocations: 449.9 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.478e-05/0.2161, allocations: 165.1 kB / 0.985 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.2161, allocations: 96.02 kB / 0.9851 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2161, allocations: 75.28 kB / 0.9852 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.2161, allocations: 109.8 kB / 0.9853 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.2162, allocations: 7.984 kB / 0.9853 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.117e-05/0.2162, allocations: 37.69 kB / 0.9853 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2163, allocations: 203.8 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.2164, allocations: 101.8 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.2164, allocations: 25.7 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.2164, allocations: 80.14 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.2164, allocations: 0 / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2164, allocations: 0 / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.2165, allocations: 318.8 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.2165, allocations: 0 / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.2166, allocations: 18.58 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.637e-05/0.2166, allocations: 79.28 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.2166, allocations: 79.27 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.339e-05/0.2167, allocations: 37.58 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.2167, allocations: 79.28 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.2167, allocations: 79.28 kB / 0.9864 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/0.2168, allocations: 154.5 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.424e-05/0.2168, allocations: 79.28 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/0.2168, allocations: 150.6 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.217, allocations: 87.2 kB / 0.9868 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.217, allocations: 83.28 kB / 0.9869 GB, free: 20.12 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.2171, allocations: 260.4 kB / 0.9871 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.2171, allocations: 112.9 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.2171, allocations: 104.1 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.2172, allocations: 180.2 kB / 0.9875 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.2172, allocations: 188.2 kB / 0.9877 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/0.2172, allocations: 180.3 kB / 0.9879 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.2174, allocations: 405.2 kB / 0.9883 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.2174, allocations: 101 kB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.2174, allocations: 112.9 kB / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/0.2175, allocations: 180.2 kB / 0.9886 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.2175, allocations: 180.3 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-05/0.2175, allocations: 188.2 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-05/0.2176, allocations: 180.2 kB / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.711e-05/0.2176, allocations: 304.1 kB / 0.9894 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.2177, allocations: 190 kB / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.2177, allocations: 192.2 kB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2178, allocations: 109 kB / 0.9899 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.2179, allocations: 180.2 kB / 0.9901 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2179, allocations: 104.9 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.123e-05/0.2179, allocations: 79.28 kB / 0.9903 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2179, allocations: 0 / 0.9903 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003812/0.2183, allocations: 75.98 kB / 0.9903 GB, free: 16.38 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006346/0.219, allocations: 399.1 kB / 0.9907 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.006e-05/0.219, allocations: 7.984 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.219, allocations: 0 / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.219, allocations: 3.938 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2193, allocations: 0.5263 MB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.2195, allocations: 166.2 kB / 0.9914 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.2196, allocations: 0.6731 MB / 0.9921 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.2197, allocations: 0 / 0.9921 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.2197, allocations: 19.36 kB / 0.9921 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2197, allocations: 4 kB / 0.9921 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.004061/0.2238, allocations: 2.032 MB / 0.9941 GB, free: 12.55 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)