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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.000858, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0009319/0.0009321, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005365/0.0005367, allocations: 21.48 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2738, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001286/0.2751, allocations: 0.947 MB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2768, allocations: 1.176 MB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.2768, allocations: 0 / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.2768, allocations: 0 / 0.7895 GB, free: 9.73 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.0005291/0.2774, allocations: 159.6 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.2775, allocations: 35.94 kB / 0.7897 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.821e-05/0.2775, allocations: 11.94 kB / 0.7897 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2776, allocations: 7.984 kB / 0.7897 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.2776, allocations: 4 kB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2778, allocations: 27.91 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2778, allocations: 0 / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.2781, allocations: 211.7 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.2781, allocations: 3.938 kB / 0.7899 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.2782, allocations: 25.7 kB / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.2784, allocations: 147.7 kB / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2784, allocations: 0 / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2784, allocations: 0 / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.2784, allocations: 0 / 0.7901 GB, free: 9.102 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.0003922/0.2788, allocations: 383.6 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2788, allocations: 8.031 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.2789, allocations: 109.8 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.279, allocations: 79.19 kB / 0.7906 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2791, allocations: 242.3 kB / 0.7909 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.2792, allocations: 158.6 kB / 0.791 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.2793, allocations: 158.6 kB / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.31e-05/0.2793, allocations: 104.9 kB / 0.7913 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.2794, allocations: 75.28 kB / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.2794, allocations: 150.6 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/0.2795, allocations: 150.6 kB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.2795, allocations: 150.6 kB / 0.7918 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.2798, allocations: 457.9 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.2799, allocations: 169.1 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.2799, allocations: 80.14 kB / 0.7925 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.28, allocations: 75.28 kB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.28, allocations: 117.9 kB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.28, allocations: 0 / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.291e-05/0.2801, allocations: 29.7 kB / 0.7927 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.2802, allocations: 207.8 kB / 0.7929 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.2803, allocations: 97.84 kB / 0.793 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2803, allocations: 25.7 kB / 0.793 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2804, allocations: 84.14 kB / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.2804, allocations: 4 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-06/0.2804, allocations: 0 / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2805, allocations: 314.8 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.2805, allocations: 0 / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.2806, allocations: 26.5 kB / 0.7934 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.2806, allocations: 79.28 kB / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.2806, allocations: 79.23 kB / 0.7935 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.164e-05/0.2807, allocations: 29.7 kB / 0.7936 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.2807, allocations: 83.28 kB / 0.7936 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.2808, allocations: 83.22 kB / 0.7937 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/0.2808, allocations: 150.6 kB / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.963e-05/0.2809, allocations: 83.2 kB / 0.794 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.07e-05/0.2809, allocations: 154.6 kB / 0.7941 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.2811, allocations: 79.28 kB / 0.7942 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.2811, allocations: 83.22 kB / 0.7943 GB, free: 4.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.2812, allocations: 264.3 kB / 0.7945 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.2813, allocations: 112.9 kB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.2814, allocations: 108 kB / 0.7947 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-05/0.2814, allocations: 180.3 kB / 0.7949 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.246e-05/0.2815, allocations: 180.3 kB / 0.7951 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/0.2816, allocations: 180.2 kB / 0.7952 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.2818, allocations: 401.2 kB / 0.7956 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/0.2818, allocations: 112.9 kB / 0.7957 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.2819, allocations: 104.9 kB / 0.7958 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.784e-05/0.2819, allocations: 184.5 kB / 0.796 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.282, allocations: 184.5 kB / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.066e-05/0.282, allocations: 180.3 kB / 0.7963 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-05/0.2821, allocations: 180.2 kB / 0.7965 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2822, allocations: 319.8 kB / 0.7968 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.2823, allocations: 178.1 kB / 0.797 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.2824, allocations: 188.2 kB / 0.7972 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2825, allocations: 104.9 kB / 0.7973 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2826, allocations: 184.3 kB / 0.7974 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.2827, allocations: 108.9 kB / 0.7976 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.2827, allocations: 87.27 kB / 0.7976 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2827, allocations: 0 / 0.7976 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000377/0.2831, allocations: 79.92 kB / 0.7977 GB, free: 0.7852 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 (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.0009372/0.284, allocations: 1.018 MB / 0.7987 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 5.182e-05/0.2841, allocations: 7.984 kB / 0.7987 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2841, allocations: 0 / 0.7987 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.2841, allocations: 7.875 kB / 0.7987 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.2845, allocations: 0.5263 MB / 0.7992 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.2851, allocations: 0.5503 MB / 0.7998 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2853, allocations: 0.6771 MB / 0.8004 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.2854, allocations: 4 kB / 0.8004 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.2854, allocations: 11.44 kB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2854, allocations: 4 kB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.2991, allocations: 2.792 MB / 0.8032 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.2993, allocations: 246.7 kB / 0.8034 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.243, allocations: 0 / 0.8034 GB, free: 11.08 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) Environment - environmentSimulation: