Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.541/2.541, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001396/0.001396, allocations: 172.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0009628/0.0009628, allocations: 93.34 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006685/0.0006687, allocations: 11.64 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2199, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001369/0.2213, allocations: 0.9469 MB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.2234, allocations: 1.172 MB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.2234, allocations: 0 / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.2235, allocations: 0 / 0.9804 GB, free: 26.2 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0006607/0.2241, allocations: 163.6 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.2243, allocations: 34.08 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.2244, allocations: 7.938 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.2244, allocations: 3.984 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.2245, allocations: 8 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2247, allocations: 17.3 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2247, allocations: 7.938 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.2251, allocations: 219.7 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2251, allocations: 3.984 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.2252, allocations: 25.7 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2254, allocations: 131.8 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2254, allocations: 0 / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2255, allocations: 0 / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2255, allocations: 0 / 0.981 GB, free: 25.59 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.0003062/0.2258, allocations: 375.6 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2258, allocations: 8.031 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2259, allocations: 83.28 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.226, allocations: 254.1 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.2261, allocations: 150.6 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.2261, allocations: 150.6 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.801e-05/0.2261, allocations: 105 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2262, allocations: 75.28 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.2262, allocations: 158.6 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.2263, allocations: 154.6 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.2263, allocations: 150.6 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.2265, allocations: 449.8 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.2266, allocations: 177.1 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.2266, allocations: 80.14 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2266, allocations: 83.2 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2267, allocations: 105.8 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.2267, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.995e-05/0.2268, allocations: 37.69 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.2269, allocations: 211.8 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.227, allocations: 97.84 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.227, allocations: 25.7 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.227, allocations: 84.12 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.227, allocations: 0 / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.227, allocations: 0 / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.2271, allocations: 318.8 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-06/0.2271, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.2272, allocations: 18.58 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.2272, allocations: 83.23 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.2272, allocations: 75.28 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.532e-05/0.2273, allocations: 37.86 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.2273, allocations: 79.28 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2274, allocations: 75.28 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.3e-05/0.2274, allocations: 158.5 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.725e-05/0.2275, allocations: 83.28 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/0.2275, allocations: 154.5 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.2277, allocations: 87.2 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2277, allocations: 79.27 kB / 0.9851 GB, free: 21.15 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 9.771e-05/0.2278, allocations: 268.4 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.2279, allocations: 108.9 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.228, allocations: 104.1 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.228, allocations: 180.3 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/0.228, allocations: 184.2 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/0.2281, allocations: 176.3 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2283, allocations: 413.2 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/0.2283, allocations: 108.9 kB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.2284, allocations: 104.9 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.41e-05/0.2284, allocations: 176.3 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.2284, allocations: 180.6 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-05/0.2285, allocations: 192.1 kB / 0.9872 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.385e-05/0.2285, allocations: 180.2 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2286, allocations: 303.8 kB / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.2287, allocations: 194 kB / 0.9878 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.2288, allocations: 180.2 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.229, allocations: 109 kB / 0.9881 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.229, allocations: 184.2 kB / 0.9883 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2291, allocations: 105 kB / 0.9884 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.2291, allocations: 87.22 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2291, allocations: 0 / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005147/0.2296, allocations: 75.98 kB / 0.9885 GB, free: 17.39 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.0008611/0.2305, allocations: 386.8 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.214e-05/0.2306, allocations: 4 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2306, allocations: 0 / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.2306, allocations: 3.938 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.231, allocations: 0.5302 MB / 0.9894 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.2312, allocations: 156 kB / 0.9896 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.2313, allocations: 0.673 MB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.2314, allocations: 11.97 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.2314, allocations: 15.42 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.2314, allocations: 3.938 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.006347/0.2378, allocations: 2.014 MB / 0.9922 GB, free: 13.6 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)