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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001205/0.001205, allocations: 184.5 kB / 376.9 MB, free: 1.785 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.368/1.368, allocations: 205 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000961/0.0009611, allocations: 92.7 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009571/0.0009571, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2108, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002463/0.2133, allocations: 1.282 MB / 0.9835 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2153, allocations: 1.257 MB / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.2153, allocations: 0 / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.2154, allocations: 0 / 0.9847 GB, free: 7.793 MB / 0.7136 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.000647/0.216, allocations: 163.6 kB / 0.9849 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.2162, allocations: 31.95 kB / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.2162, allocations: 11.94 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.2162, allocations: 0 / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.2163, allocations: 15.98 kB / 0.9849 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.2166, allocations: 15.92 kB / 0.9849 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2166, allocations: 0 / 0.9849 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.217, allocations: 235.6 kB / 0.9852 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2171, allocations: 7.984 kB / 0.9852 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.2171, allocations: 4 kB / 0.9852 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.2175, allocations: 211.7 kB / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2175, allocations: 0 / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2175, allocations: 0 / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2175, allocations: 0 / 0.9854 GB, free: 7.109 MB / 0.7136 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.0004069/0.2179, allocations: 387.7 kB / 0.9857 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.218, allocations: 12.03 kB / 0.9858 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.218, allocations: 84.2 kB / 0.9858 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2182, allocations: 243.6 kB / 0.9861 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.2182, allocations: 154.9 kB / 0.9862 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.2183, allocations: 150.9 kB / 0.9864 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.236e-05/0.2183, allocations: 105.1 kB / 0.9865 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.2184, allocations: 75.28 kB / 0.9865 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.2184, allocations: 150.6 kB / 0.9867 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.2185, allocations: 162.5 kB / 0.9868 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.2186, allocations: 158.5 kB / 0.987 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.2188, allocations: 438 kB / 0.9874 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.126e-05/0.2189, allocations: 169.1 kB / 0.9876 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.2189, allocations: 84.19 kB / 0.9876 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.219, allocations: 83.28 kB / 0.9877 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.219, allocations: 113.8 kB / 0.9878 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.219, allocations: 3.938 kB / 0.9878 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.18e-05/0.2191, allocations: 25.7 kB / 0.9879 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.2192, allocations: 207.8 kB / 0.9881 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.2193, allocations: 97.86 kB / 0.9882 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2193, allocations: 29.7 kB / 0.9882 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.2194, allocations: 84.12 kB / 0.9883 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.2194, allocations: 3.938 kB / 0.9883 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.2194, allocations: 17.72 kB / 0.9883 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2195, allocations: 310.8 kB / 0.9886 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.2195, allocations: 0 / 0.9886 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.2196, allocations: 18.58 kB / 0.9886 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.392e-05/0.2196, allocations: 79.28 kB / 0.9887 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.2196, allocations: 79.28 kB / 0.9887 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.97e-05/0.2197, allocations: 37.56 kB / 0.9888 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.2198, allocations: 83.28 kB / 0.9889 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.2198, allocations: 79.28 kB / 0.9889 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-05/0.2198, allocations: 154.5 kB / 0.9891 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.341e-05/0.2199, allocations: 75.28 kB / 0.9892 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.824e-05/0.2199, allocations: 166.5 kB / 0.9893 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2201, allocations: 83.2 kB / 0.9894 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.2201, allocations: 79.28 kB / 0.9895 GB, free: 2.648 MB / 0.7136 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.0001066/0.2202, allocations: 260.4 kB / 0.9897 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.2203, allocations: 112.9 kB / 0.9898 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.2204, allocations: 108.1 kB / 0.9899 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-05/0.2204, allocations: 184.4 kB / 0.9901 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.305e-05/0.2205, allocations: 176.3 kB / 0.9903 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/0.2205, allocations: 180.3 kB / 0.9904 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2207, allocations: 409.1 kB / 0.9908 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/0.2208, allocations: 113 kB / 0.9909 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.2208, allocations: 108.9 kB / 0.991 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-05/0.2209, allocations: 176.3 kB / 0.9912 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.2209, allocations: 180.3 kB / 0.9914 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.375e-05/0.221, allocations: 188.5 kB / 0.9916 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.306e-05/0.2211, allocations: 180.3 kB / 0.9917 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.2214, allocations: 0.857 MB / 0.9926 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.2215, allocations: 178.1 kB / 0.9927 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.2216, allocations: 184.2 kB / 0.9929 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2217, allocations: 108.9 kB / 0.993 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.2218, allocations: 184.3 kB / 0.9932 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.2218, allocations: 104.9 kB / 0.9933 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.2219, allocations: 83.27 kB / 0.9934 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.233e-06/0.2219, allocations: 0 / 0.9934 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004788/0.2223, allocations: 83.86 kB / 0.9935 GB, free: 14.3 MB / 0.7292 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.0006961/0.223, allocations: 398.2 kB / 0.9938 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.465e-05/0.2231, allocations: 4 kB / 0.9938 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2231, allocations: 0 / 0.9938 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2231, allocations: 0 / 0.9938 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2235, allocations: 0.5224 MB / 0.9944 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.2237, allocations: 170.5 kB / 0.9945 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2239, allocations: 0.6731 MB / 0.9952 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.224, allocations: 7.984 kB / 0.9952 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.224, allocations: 15.42 kB / 0.9952 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.224, allocations: 0 / 0.9952 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.004431/0.2284, allocations: 2.038 MB / 0.9972 GB, free: 10.45 MB / 0.7292 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)