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 1.654/1.654, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.001378/0.001378, allocations: 180.6 kB / 371.2 MB, free: 10.83 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.636/1.636, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.000902/0.0009021, allocations: 93.95 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004969, allocations: 15.52 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001544/0.2756, allocations: 0.9431 MB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2776, allocations: 1.174 MB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.2777, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.2777, allocations: 0 / 0.9808 GB, free: 26.05 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.0008391/0.2786, allocations: 164.6 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.2787, allocations: 33.78 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.2788, allocations: 15.98 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.2788, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.2789, allocations: 11.92 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.279, allocations: 13.31 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2791, allocations: 7.938 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.2795, allocations: 223.7 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2795, allocations: 3.984 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.2795, allocations: 25.7 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.2798, allocations: 139.8 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2798, allocations: 4 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2798, allocations: 0 / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2798, allocations: 0 / 0.9814 GB, free: 25.42 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.0003207/0.2801, allocations: 371.8 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2802, allocations: 8.031 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.2802, allocations: 76.22 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2803, allocations: 251.5 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2804, allocations: 154.9 kB / 0.9822 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.2804, allocations: 154.9 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.523e-05/0.2805, allocations: 109 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2805, allocations: 79.28 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.2805, allocations: 150.6 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.2806, allocations: 150.6 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.2806, allocations: 158.6 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.2808, allocations: 442 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.2809, allocations: 173.1 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.2809, allocations: 88.14 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2809, allocations: 79.28 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.281, allocations: 109.8 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.281, allocations: 3.938 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.985e-05/0.281, allocations: 25.7 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2811, allocations: 207.8 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.2812, allocations: 101.8 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2812, allocations: 25.7 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.2812, allocations: 88.08 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2813, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2813, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.2813, allocations: 314.8 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.2813, allocations: 0 / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.2814, allocations: 14.58 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/0.2814, allocations: 83.28 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.2814, allocations: 79.28 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.208e-05/0.2815, allocations: 41.69 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.2815, allocations: 79.28 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.2815, allocations: 79.22 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/0.2816, allocations: 150.6 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.318e-05/0.2816, allocations: 79.22 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.2816, allocations: 158.5 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2818, allocations: 83.27 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2818, allocations: 87.22 kB / 0.9854 GB, free: 20.99 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 8.457e-05/0.2819, allocations: 256.4 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.2819, allocations: 109.2 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.282, allocations: 112.1 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/0.282, allocations: 188.2 kB / 0.9861 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/0.2821, allocations: 184.3 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/0.2821, allocations: 180.2 kB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.2823, allocations: 401.2 kB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.2823, allocations: 104.9 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.2823, allocations: 108.9 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.98e-05/0.2823, allocations: 180.3 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.2824, allocations: 180.2 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.109e-05/0.2824, allocations: 184.2 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.571e-05/0.2825, allocations: 180.2 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.034e-05/0.2826, allocations: 303.8 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.2826, allocations: 190 kB / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.2827, allocations: 188.2 kB / 0.9883 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2828, allocations: 108.9 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.2828, allocations: 184.2 kB / 0.9886 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2829, allocations: 105 kB / 0.9887 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.2829, allocations: 83.22 kB / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2829, allocations: 0 / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003666/0.2833, allocations: 79.98 kB / 0.9889 GB, free: 17.24 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.0007657/0.284, allocations: 393.6 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.833e-05/0.2841, allocations: 4 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2841, allocations: 4 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2841, allocations: 3.984 kB / 0.9893 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2844, allocations: 0.5231 MB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.2847, allocations: 164 kB / 0.9899 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2848, allocations: 0.677 MB / 0.9906 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.2849, allocations: 4 kB / 0.9906 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.2849, allocations: 15.42 kB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2849, allocations: 0 / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.00437/0.2893, allocations: 2.029 MB / 0.9926 GB, free: 13.43 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)