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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002117/0.002117, allocations: 196.7 kB / 16.14 MB, free: 6.656 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.291/1.291, allocations: 205.1 MB / 222 MB, free: 4.738 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.621/1.621, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001399/0.001399, allocations: 62.97 kB / 0.6708 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2071, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00238/0.2095, allocations: 1.289 MB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2113, allocations: 1.25 MB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.2114, allocations: 7.938 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2114, allocations: 0 / 0.7852 GB, free: 11.46 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.0006118/0.2121, allocations: 163.6 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2122, allocations: 35.69 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.2122, allocations: 15.94 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.2123, allocations: 0 / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.2123, allocations: 15.92 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2125, allocations: 12.64 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.2125, allocations: 0 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.2128, allocations: 235.7 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.2129, allocations: 4 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.2129, allocations: 19.91 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.2132, allocations: 199.6 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2132, allocations: 0 / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2132, allocations: 4 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2132, allocations: 0 / 0.7858 GB, free: 10.78 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.000356/0.2136, allocations: 375.9 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2137, allocations: 12.03 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.2137, allocations: 80.12 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2139, allocations: 243.6 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.214, allocations: 154.9 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.214, allocations: 154.9 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.623e-05/0.2141, allocations: 109.1 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2141, allocations: 79.28 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.2142, allocations: 154.6 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.2142, allocations: 154.5 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.2143, allocations: 150.6 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.2145, allocations: 449.9 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.359e-05/0.2146, allocations: 169.1 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.2146, allocations: 84.12 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2146, allocations: 79.22 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2147, allocations: 117.8 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.2147, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.305e-05/0.2148, allocations: 25.7 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.2149, allocations: 207.8 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.215, allocations: 105.8 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.215, allocations: 29.7 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.215, allocations: 80.14 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.215, allocations: 0 / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.2151, allocations: 21.66 kB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.2152, allocations: 310.8 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-06/0.2152, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.2152, allocations: 30.5 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.2152, allocations: 75.28 kB / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.2153, allocations: 75.28 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.045e-05/0.2153, allocations: 37.64 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.2154, allocations: 79.28 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.2154, allocations: 79.28 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-05/0.2155, allocations: 154.5 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.2155, allocations: 79.28 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-05/0.2155, allocations: 154.5 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2157, allocations: 83.27 kB / 0.7898 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.2157, allocations: 75.28 kB / 0.7899 GB, free: 6.332 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.0001088/0.2159, allocations: 271.6 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.2159, allocations: 108.9 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.216, allocations: 112.1 kB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.782e-05/0.216, allocations: 184.1 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.963e-05/0.2161, allocations: 176.3 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.623e-05/0.2161, allocations: 184.2 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.2163, allocations: 405.2 kB / 0.7913 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.2164, allocations: 105 kB / 0.7914 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.2164, allocations: 112.9 kB / 0.7915 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.491e-05/0.2165, allocations: 180.3 kB / 0.7917 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.2165, allocations: 188.2 kB / 0.7918 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-05/0.2166, allocations: 176.3 kB / 0.792 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.985e-05/0.2166, allocations: 184.6 kB / 0.7922 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.2167, allocations: 311.8 kB / 0.7925 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2168, allocations: 186 kB / 0.7927 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.2169, allocations: 176.3 kB / 0.7928 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.217, allocations: 109 kB / 0.7929 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.2171, allocations: 184.2 kB / 0.7931 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.2171, allocations: 109 kB / 0.7932 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.2172, allocations: 75.28 kB / 0.7933 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2172, allocations: 0 / 0.7933 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003887/0.2176, allocations: 75.98 kB / 0.7934 GB, free: 2.57 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.00069/0.2183, allocations: 405.2 kB / 0.7937 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.164e-05/0.2183, allocations: 7.922 kB / 0.7938 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2183, allocations: 4 kB / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.2183, allocations: 0 / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2187, allocations: 0.5263 MB / 0.7943 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.2189, allocations: 166.5 kB / 0.7944 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2191, allocations: 0.6731 MB / 0.7951 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.2191, allocations: 4 kB / 0.7951 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.2192, allocations: 11.44 kB / 0.7951 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2192, allocations: 0 / 0.7951 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of Templates: time 0.004612/0.2238, allocations: 2.043 MB / 0.7971 GB, free: 14.73 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)