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.001051/0.001051, allocations: 105.4 kB / 16.35 MB, free: 5.879 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.001041/0.001041, allocations: 194.3 kB / 17.29 MB, free: 5.516 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.231/1.231, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.697/1.697, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001431/0.001431, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002102/0.1841, allocations: 1.22 MB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1858, allocations: 1.252 MB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1858, allocations: 4 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1858, allocations: 0 / 0.7872 GB, free: 0.668 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/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.0006268/0.1865, allocations: 211.2 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.696e-05/0.1866, allocations: 35.45 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.628e-05/0.1866, allocations: 19.86 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.1867, allocations: 4 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.185e-05/0.1867, allocations: 11.98 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1868, allocations: 8 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1868, allocations: 0 / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.1872, allocations: 263.7 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1872, allocations: 7.938 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.1873, allocations: 11.86 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.2995/0.4868, allocations: 200.4 kB / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4868, allocations: 1.312 kB / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4868, allocations: 3.062 kB / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.4868, allocations: 1.375 kB / 0.7879 GB, free: 46.74 MB / 0.6544 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.0002957/0.4871, allocations: 375.4 kB / 0.7883 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4872, allocations: 8.656 kB / 0.7883 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.4872, allocations: 80.09 kB / 0.7884 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/0.4873, allocations: 250 kB / 0.7886 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4873, allocations: 154.4 kB / 0.7888 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4874, allocations: 156.5 kB / 0.7889 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.716e-05/0.4874, allocations: 106.4 kB / 0.789 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4874, allocations: 75.28 kB / 0.7891 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.4874, allocations: 152.3 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.4875, allocations: 150.6 kB / 0.7894 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.4875, allocations: 157.4 kB / 0.7895 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.4877, allocations: 447 kB / 0.79 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.4877, allocations: 173.3 kB / 0.7901 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.4877, allocations: 81.14 kB / 0.7902 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.4877, allocations: 77.22 kB / 0.7903 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.4878, allocations: 111.1 kB / 0.7904 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.4878, allocations: 2.578 kB / 0.7904 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.362e-05/0.4878, allocations: 39.42 kB / 0.7904 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4879, allocations: 208.3 kB / 0.7906 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.488, allocations: 98.64 kB / 0.7907 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.488, allocations: 26.42 kB / 0.7907 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.94e-05/0.488, allocations: 86.77 kB / 0.7908 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.488, allocations: 0 / 0.7908 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.488, allocations: 18.7 kB / 0.7908 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.4881, allocations: 310.8 kB / 0.7911 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-06/0.4881, allocations: 3.188 kB / 0.7911 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.4881, allocations: 17.3 kB / 0.7912 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.152e-05/0.4881, allocations: 78.53 kB / 0.7912 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.4881, allocations: 75.28 kB / 0.7913 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.231e-05/0.4882, allocations: 33.28 kB / 0.7913 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4882, allocations: 86.88 kB / 0.7914 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4882, allocations: 78.19 kB / 0.7915 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.4883, allocations: 152.8 kB / 0.7916 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-06/0.4883, allocations: 80.75 kB / 0.7917 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.4883, allocations: 154.4 kB / 0.7919 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4884, allocations: 82.84 kB / 0.7919 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.4885, allocations: 81.28 kB / 0.792 GB, free: 42.53 MB / 0.6544 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 5.343e-05/0.4885, allocations: 265.3 kB / 0.7923 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.4886, allocations: 104.9 kB / 0.7924 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.4886, allocations: 114 kB / 0.7925 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.4886, allocations: 185.3 kB / 0.7927 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/0.4886, allocations: 181.9 kB / 0.7928 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.4887, allocations: 178.8 kB / 0.793 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4888, allocations: 410.4 kB / 0.7934 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4888, allocations: 101 kB / 0.7935 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.4888, allocations: 104.1 kB / 0.7936 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.4888, allocations: 193.2 kB / 0.7938 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.4889, allocations: 179.3 kB / 0.7939 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.768e-05/0.4889, allocations: 180.5 kB / 0.7941 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/0.4889, allocations: 183.3 kB / 0.7943 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.546e-05/0.489, allocations: 309.7 kB / 0.7946 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.489, allocations: 183.7 kB / 0.7948 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.489, allocations: 183.4 kB / 0.7949 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4892, allocations: 109.8 kB / 0.795 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.4892, allocations: 183.3 kB / 0.7952 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4892, allocations: 107.9 kB / 0.7953 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.965e-05/0.4892, allocations: 81.78 kB / 0.7954 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4892, allocations: 0 / 0.7954 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003906/0.4896, allocations: 76.91 kB / 0.7955 GB, free: 38.97 MB / 0.6544 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.0006135/0.4902, allocations: 389.6 kB / 0.7958 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 4.618e-05/0.4903, allocations: 8.578 kB / 0.7958 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4903, allocations: 0 / 0.7958 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.4903, allocations: 0 / 0.7958 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.4906, allocations: 464.1 kB / 0.7963 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.4908, allocations: 162.7 kB / 0.7964 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.4909, allocations: 0.676 MB / 0.7971 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.4909, allocations: 2.688 kB / 0.7971 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.4909, allocations: 14 kB / 0.7971 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.4909, allocations: 0 / 0.7971 GB, free: 37.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.00401/0.4949, allocations: 2.07 MB / 0.7991 GB, free: 37.32 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)