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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001595/0.001595, allocations: 182.4 kB / 372 MB, free: 10.27 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.674/1.674, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007597/0.0007596, allocations: 92.89 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004446, allocations: 10.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001353/0.2707, allocations: 0.9395 MB / 0.9806 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2725, allocations: 1.168 MB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.2725, allocations: 4 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.2726, allocations: 0 / 0.9817 GB, free: 25.43 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.0006012/0.2732, allocations: 167.5 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.2733, allocations: 29.7 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.2734, allocations: 11.94 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.2734, allocations: 0 / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.2735, allocations: 8 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.2737, allocations: 33.64 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2737, allocations: 3.938 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.274, allocations: 207.8 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.274, allocations: 8 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.2741, allocations: 29.7 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.2743, allocations: 135.8 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2743, allocations: 0 / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2743, allocations: 3.938 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.2743, allocations: 0 / 0.9823 GB, free: 24.8 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.0003779/0.2747, allocations: 375.6 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2747, allocations: 8.031 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.2748, allocations: 109.8 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.2749, allocations: 87.17 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.275, allocations: 242.3 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.275, allocations: 150.6 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.2751, allocations: 154.6 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.95e-05/0.2751, allocations: 101 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2752, allocations: 79.27 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.2752, allocations: 154.6 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.2752, allocations: 154.5 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.2753, allocations: 150.6 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.2755, allocations: 457.8 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.2756, allocations: 169.1 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.2756, allocations: 80.14 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2756, allocations: 83.2 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2756, allocations: 117.9 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2757, allocations: 0 / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.707e-05/0.2757, allocations: 25.7 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.2758, allocations: 211.8 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.2759, allocations: 101.8 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.2759, allocations: 25.7 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.276, allocations: 80.14 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.276, allocations: 0 / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.276, allocations: 0 / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.276, allocations: 310.8 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-06/0.276, allocations: 0 / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.2761, allocations: 30.45 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.2761, allocations: 79.28 kB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/0.2761, allocations: 83.23 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.824e-05/0.2762, allocations: 29.69 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.2762, allocations: 83.28 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.2762, allocations: 79.22 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.2763, allocations: 154.6 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.489e-05/0.2763, allocations: 75.28 kB / 0.9862 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.2764, allocations: 158.5 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2765, allocations: 79.27 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2765, allocations: 83.22 kB / 0.9865 GB, free: 20.26 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.196e-05/0.2766, allocations: 264.4 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2767, allocations: 108.9 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.2767, allocations: 104.1 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.2768, allocations: 184.2 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/0.2768, allocations: 184.3 kB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/0.2768, allocations: 180.2 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.277, allocations: 401.2 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.277, allocations: 109 kB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.277, allocations: 112.9 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.29e-05/0.2771, allocations: 176.3 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.2771, allocations: 188.1 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.641e-05/0.2772, allocations: 188.6 kB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-05/0.2772, allocations: 180.2 kB / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.973e-05/0.2773, allocations: 303.9 kB / 0.9891 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.2774, allocations: 186 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.2774, allocations: 188.2 kB / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2776, allocations: 112.9 kB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2776, allocations: 180.2 kB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2776, allocations: 101 kB / 0.9898 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.2777, allocations: 79.28 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2777, allocations: 0 / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004638/0.2781, allocations: 79.98 kB / 0.9899 GB, free: 16.51 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.0009227/0.2791, allocations: 1.026 MB / 0.9909 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.068e-05/0.2792, allocations: 4 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2792, allocations: 0 / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.2792, allocations: 4 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2795, allocations: 0.5341 MB / 0.9915 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.2802, allocations: 0.5502 MB / 0.992 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2804, allocations: 0.6692 MB / 0.9927 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.2804, allocations: 8.031 kB / 0.9927 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.2804, allocations: 11.44 kB / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2805, allocations: 0 / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.297, allocations: 2.819 MB / 0.9954 GB, free: 11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.2972, allocations: 259.3 kB / 0.9957 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.031, allocations: 0 / 0.9957 GB, free: 10.66 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)