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.001488/0.001487, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001216/0.001216, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.424/1.424, allocations: 205.1 MB / 222.8 MB, free: 4.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.674/1.674, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001393/0.001393, allocations: 70.53 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2922, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002411/0.2947, allocations: 1.289 MB / 0.7848 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2965, allocations: 1.23 MB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.2966, allocations: 0 / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2966, allocations: 0 / 0.786 GB, free: 11.34 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.0006863/0.2973, allocations: 183.6 kB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.2974, allocations: 32.83 kB / 0.7862 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.2975, allocations: 15.92 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.2976, allocations: 8 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2976, allocations: 11.94 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.2978, allocations: 14.83 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2978, allocations: 0 / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.2981, allocations: 239.7 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2981, allocations: 4 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.2982, allocations: 11.92 kB / 0.7865 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.2984, allocations: 139.8 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2984, allocations: 0 / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2984, allocations: 0 / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2984, allocations: 4 kB / 0.7866 GB, free: 10.7 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.0003981/0.2988, allocations: 375.8 kB / 0.787 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2989, allocations: 8.031 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.299, allocations: 80.12 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2991, allocations: 251.6 kB / 0.7873 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.2992, allocations: 150.9 kB / 0.7874 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.2993, allocations: 150.9 kB / 0.7876 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.871e-05/0.2993, allocations: 113 kB / 0.7877 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.2994, allocations: 75.28 kB / 0.7878 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.2994, allocations: 154.5 kB / 0.7879 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.2995, allocations: 150.6 kB / 0.7881 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.2996, allocations: 154.6 kB / 0.7882 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.2998, allocations: 449.9 kB / 0.7886 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.2999, allocations: 169.1 kB / 0.7888 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.3, allocations: 92.08 kB / 0.7889 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3, allocations: 75.33 kB / 0.789 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.3, allocations: 117.8 kB / 0.7891 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3, allocations: 0 / 0.7891 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.379e-05/0.3001, allocations: 29.7 kB / 0.7891 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.3002, allocations: 207.8 kB / 0.7893 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3003, allocations: 101.8 kB / 0.7894 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3004, allocations: 25.7 kB / 0.7894 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.3004, allocations: 80.14 kB / 0.7895 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.3004, allocations: 0 / 0.7895 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.3004, allocations: 17.72 kB / 0.7895 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3006, allocations: 318.8 kB / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.3006, allocations: 0 / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.3006, allocations: 18.58 kB / 0.7898 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.3007, allocations: 79.28 kB / 0.7899 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.3007, allocations: 75.28 kB / 0.79 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.63e-05/0.3008, allocations: 29.64 kB / 0.79 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.3008, allocations: 90.41 kB / 0.7901 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.3008, allocations: 83.2 kB / 0.7902 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.832e-05/0.3009, allocations: 150.8 kB / 0.7903 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-05/0.3009, allocations: 79.22 kB / 0.7904 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-05/0.301, allocations: 158.6 kB / 0.7905 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3012, allocations: 75.28 kB / 0.7906 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3012, allocations: 91.22 kB / 0.7907 GB, free: 6.246 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.0001146/0.3013, allocations: 260.4 kB / 0.7909 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.3014, allocations: 112.9 kB / 0.7911 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.3015, allocations: 112 kB / 0.7912 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-05/0.3015, allocations: 176.3 kB / 0.7913 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.865e-05/0.3016, allocations: 184.3 kB / 0.7915 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.933e-05/0.3016, allocations: 184.2 kB / 0.7917 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3019, allocations: 397.2 kB / 0.7921 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/0.3019, allocations: 116.9 kB / 0.7922 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.3019, allocations: 104.9 kB / 0.7923 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-05/0.302, allocations: 180.6 kB / 0.7924 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.3021, allocations: 180.2 kB / 0.7926 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-05/0.3021, allocations: 180.3 kB / 0.7928 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.202e-05/0.3022, allocations: 192.2 kB / 0.793 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3024, allocations: 307.7 kB / 0.7933 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.3024, allocations: 186 kB / 0.7934 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.3025, allocations: 188.2 kB / 0.7936 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3027, allocations: 104.9 kB / 0.7937 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.3027, allocations: 180.3 kB / 0.7939 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.3028, allocations: 104.9 kB / 0.794 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.3028, allocations: 83.27 kB / 0.7941 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3028, allocations: 4 kB / 0.7941 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003719/0.3032, allocations: 79.98 kB / 0.7942 GB, free: 2.477 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.0007988/0.304, allocations: 389.6 kB / 0.7945 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.825e-05/0.3041, allocations: 4 kB / 0.7945 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3041, allocations: 0 / 0.7945 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3041, allocations: 0 / 0.7945 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3045, allocations: 463.6 kB / 0.795 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.3048, allocations: 198.2 kB / 0.7952 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.305, allocations: 0.6729 MB / 0.7958 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.305, allocations: 11.44 kB / 0.7958 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.305, allocations: 0 / 0.7958 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of Templates: time 0.003793/0.3088, allocations: 2.009 MB / 0.7978 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)