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.001664/0.001664, allocations: 118.8 kB / 16.38 MB, free: 6.008 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.001772/0.001772, allocations: 186.6 kB / 17.31 MB, free: 5.621 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.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.736/1.736, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001477/0.001477, allocations: 68.12 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2105, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002177/0.2127, allocations: 1.225 MB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2144, allocations: 1.253 MB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.2145, allocations: 4 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2145, allocations: 0 / 0.7872 GB, free: 0.6719 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.0007117/0.2152, allocations: 211.2 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.2154, allocations: 39.94 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.2154, allocations: 19.86 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.2155, allocations: 0 / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.456e-05/0.2155, allocations: 4 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.2157, allocations: 11.98 kB / 0.7875 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2158, allocations: 4 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.2162, allocations: 263.7 kB / 0.7878 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.2162, allocations: 11.91 kB / 0.7878 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.2163, allocations: 7.938 kB / 0.7878 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3502/0.5665, allocations: 202.4 kB / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5665, allocations: 2.625 kB / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5665, allocations: 0 / 0.788 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5665, allocations: 0 / 0.788 GB, free: 46.6 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.0003272/0.5669, allocations: 378.2 kB / 0.7883 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5669, allocations: 10.5 kB / 0.7883 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.567, allocations: 81.28 kB / 0.7884 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.944e-05/0.5671, allocations: 248.5 kB / 0.7887 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.5671, allocations: 152.2 kB / 0.7888 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.5671, allocations: 157.4 kB / 0.789 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.66e-05/0.5671, allocations: 105.3 kB / 0.7891 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5672, allocations: 77.91 kB / 0.7891 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.5672, allocations: 152.4 kB / 0.7893 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.5672, allocations: 150.6 kB / 0.7894 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.5672, allocations: 156.5 kB / 0.7896 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.5674, allocations: 447.6 kB / 0.79 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.5675, allocations: 167.8 kB / 0.7902 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.5675, allocations: 84.02 kB / 0.7902 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.5675, allocations: 77.09 kB / 0.7903 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.5675, allocations: 111 kB / 0.7904 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5675, allocations: 2.75 kB / 0.7904 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.5676, allocations: 34.03 kB / 0.7904 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.5677, allocations: 136.5 kB / 0.7906 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.5677, allocations: 96.45 kB / 0.7907 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.5677, allocations: 27.14 kB / 0.7907 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.5678, allocations: 85.56 kB / 0.7908 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.5678, allocations: 0 / 0.7908 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.5678, allocations: 19.72 kB / 0.7908 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.5679, allocations: 310.8 kB / 0.7911 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-06/0.5679, allocations: 2.656 kB / 0.7911 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.5679, allocations: 20.03 kB / 0.7911 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.141e-05/0.5679, allocations: 78.97 kB / 0.7912 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.5679, allocations: 76.44 kB / 0.7913 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.539e-05/0.568, allocations: 29.23 kB / 0.7913 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.568, allocations: 85.91 kB / 0.7914 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.568, allocations: 81.69 kB / 0.7914 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.5681, allocations: 161.1 kB / 0.7916 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-06/0.5681, allocations: 79.03 kB / 0.7917 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.5681, allocations: 150.6 kB / 0.7918 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.5682, allocations: 79.09 kB / 0.7919 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5683, allocations: 89.31 kB / 0.792 GB, free: 42.46 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.771e-05/0.5683, allocations: 264 kB / 0.7922 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5684, allocations: 108.5 kB / 0.7923 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.5684, allocations: 110.1 kB / 0.7924 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.5684, allocations: 179.6 kB / 0.7926 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.5684, allocations: 104.6 kB / 0.7927 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.5685, allocations: 180.7 kB / 0.7929 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.5685, allocations: 189.1 kB / 0.7931 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5686, allocations: 106.9 kB / 0.7932 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.5687, allocations: 179.5 kB / 0.7933 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.085e-05/0.5687, allocations: 257.5 kB / 0.7936 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.583e-05/0.5688, allocations: 389 kB / 0.794 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.901e-05/0.5688, allocations: 101 kB / 0.7941 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.5688, allocations: 85.64 kB / 0.7941 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of Backend: time 3.21e-07/0.5688, allocations: 2.344 kB / 0.7941 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008457/0.5697, allocations: 298.6 kB / 0.7944 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003044/0.57, allocations: 0.918 MB / 0.7953 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.004013/0.574, allocations: 1.908 MB / 0.7972 GB, free: 39.07 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 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)