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.001431/0.001431, allocations: 102.7 kB / 16.29 MB, free: 6.004 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.001395/0.001395, allocations: 180 kB / 17.22 MB, free: 5.617 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.792/1.792, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001593/0.001593, allocations: 75.89 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 114.6 MB / 0.7841 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002977/0.2621, allocations: 1.209 MB / 0.7853 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2642, allocations: 1.245 MB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.2642, allocations: 4 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.2642, allocations: 0 / 0.7865 GB, free: 1.445 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.0008877/0.2652, allocations: 211.2 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.2653, allocations: 47 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.2654, allocations: 15.88 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.2654, allocations: 0 / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.2655, allocations: 8 kB / 0.7868 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.2657, allocations: 18.94 kB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2657, allocations: 0 / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.2662, allocations: 267.6 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.2662, allocations: 11.92 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.2662, allocations: 3.938 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.2666, allocations: 207.7 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2666, allocations: 4 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2667, allocations: 0 / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2667, allocations: 0 / 0.7872 GB, free: 0.6719 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.0004332/0.2671, allocations: 379.8 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2672, allocations: 8.031 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.2672, allocations: 76.22 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3528/0.62, allocations: 249.9 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.6201, allocations: 152.5 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.6201, allocations: 152.8 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.162e-05/0.6202, allocations: 109.4 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6202, allocations: 75.28 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.6203, allocations: 152.2 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.6203, allocations: 150.6 kB / 0.7887 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.6203, allocations: 158.2 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.6205, allocations: 445.7 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.6206, allocations: 175 kB / 0.7894 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.6206, allocations: 82.2 kB / 0.7895 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.6207, allocations: 75.28 kB / 0.7896 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6207, allocations: 109.6 kB / 0.7897 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.6207, allocations: 0 / 0.7897 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.681e-05/0.6208, allocations: 32.33 kB / 0.7897 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.6209, allocations: 214.8 kB / 0.7899 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.621, allocations: 95.62 kB / 0.79 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.621, allocations: 32.7 kB / 0.79 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.621, allocations: 82.14 kB / 0.7901 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.621, allocations: 0 / 0.7901 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.6211, allocations: 17.06 kB / 0.7901 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.6211, allocations: 312.1 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.6211, allocations: 8.344 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.6212, allocations: 19.73 kB / 0.7905 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.766e-05/0.6212, allocations: 78.06 kB / 0.7905 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.6212, allocations: 78.5 kB / 0.7906 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.884e-05/0.6213, allocations: 31.53 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.6213, allocations: 81 kB / 0.7907 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.6213, allocations: 83.3 kB / 0.7908 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.6214, allocations: 150.6 kB / 0.7909 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-05/0.6214, allocations: 78.47 kB / 0.791 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/0.6214, allocations: 165.7 kB / 0.7912 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.6216, allocations: 85.7 kB / 0.7912 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.6216, allocations: 81 kB / 0.7913 GB, free: 45.18 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 6.781e-05/0.6217, allocations: 261.9 kB / 0.7916 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.6217, allocations: 101.7 kB / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.6218, allocations: 116.5 kB / 0.7918 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.6218, allocations: 178.6 kB / 0.792 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/0.6218, allocations: 190.1 kB / 0.7921 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.6219, allocations: 181.7 kB / 0.7923 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.622, allocations: 404.1 kB / 0.7927 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.622, allocations: 104 kB / 0.7928 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.6221, allocations: 107.4 kB / 0.7929 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-05/0.6221, allocations: 178 kB / 0.7931 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.6221, allocations: 183.3 kB / 0.7932 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.539e-05/0.6222, allocations: 180.5 kB / 0.7934 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-05/0.6222, allocations: 185.8 kB / 0.7936 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.24e-05/0.6223, allocations: 303.3 kB / 0.7939 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.6223, allocations: 188 kB / 0.7941 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.6223, allocations: 179.9 kB / 0.7942 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6225, allocations: 108.4 kB / 0.7943 GB, free: 42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.6225, allocations: 191.9 kB / 0.7945 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.6225, allocations: 104.5 kB / 0.7946 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.111e-05/0.6226, allocations: 80.41 kB / 0.7947 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6226, allocations: 0.5625 kB / 0.7947 GB, free: 41.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004307/0.623, allocations: 77.64 kB / 0.7948 GB, free: 41.63 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.0007276/0.6237, allocations: 395.8 kB / 0.7951 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.258e-05/0.6238, allocations: 2.156 kB / 0.7951 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6238, allocations: 0 / 0.7951 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.6238, allocations: 3.875 kB / 0.7952 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.6241, allocations: 460.3 kB / 0.7956 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.6243, allocations: 165.2 kB / 0.7957 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.6244, allocations: 0.6714 MB / 0.7964 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.6245, allocations: 9.5 kB / 0.7964 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.6245, allocations: 12.72 kB / 0.7964 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6245, allocations: 0 / 0.7964 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.00446/0.629, allocations: 2.062 MB / 0.7984 GB, free: 40.01 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)