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.0008169/0.0008169, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005931/0.005931, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.464/1.464, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.707/1.707, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006155/0.0006154, allocations: 20.11 kB / 0.6743 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.281, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00157/0.2826, allocations: 0.9508 MB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.2845, allocations: 1.238 MB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.2846, allocations: 4 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.2846, allocations: 0 / 0.79 GB, free: 9.344 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.0005523/0.2851, allocations: 159.6 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.2853, allocations: 27.95 kB / 0.7902 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.2853, allocations: 11.94 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.2854, allocations: 3.984 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.2854, allocations: 23.92 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.2856, allocations: 8.656 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2856, allocations: 0 / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.2859, allocations: 235.7 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2859, allocations: 3.984 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.286, allocations: 41.58 kB / 0.7905 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.2862, allocations: 199.7 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2862, allocations: 4 kB / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2862, allocations: 0 / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2863, allocations: 0 / 0.7907 GB, free: 8.633 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.0003285/0.2866, allocations: 367.9 kB / 0.7911 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2866, allocations: 12.03 kB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.2867, allocations: 80.2 kB / 0.7912 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2868, allocations: 247.5 kB / 0.7914 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.2869, allocations: 158.9 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.2869, allocations: 150.9 kB / 0.7917 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.623e-05/0.287, allocations: 112.9 kB / 0.7918 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.287, allocations: 75.28 kB / 0.7919 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.2871, allocations: 150.6 kB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.2871, allocations: 154.5 kB / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.2872, allocations: 150.6 kB / 0.7923 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.2874, allocations: 453.9 kB / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.2875, allocations: 165.1 kB / 0.7929 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.2875, allocations: 84.14 kB / 0.793 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2876, allocations: 79.22 kB / 0.793 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.2876, allocations: 117.8 kB / 0.7932 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.2876, allocations: 7.938 kB / 0.7932 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.729e-05/0.2877, allocations: 33.69 kB / 0.7932 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.2878, allocations: 207.8 kB / 0.7934 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.2879, allocations: 97.86 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2879, allocations: 25.7 kB / 0.7935 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.2879, allocations: 84.12 kB / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.2879, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.288, allocations: 9.719 kB / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.2881, allocations: 314.8 kB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.2881, allocations: 0 / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.2881, allocations: 22.58 kB / 0.7939 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.2881, allocations: 75.28 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.2882, allocations: 79.28 kB / 0.7941 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.44e-05/0.2882, allocations: 33.58 kB / 0.7941 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.2883, allocations: 83.28 kB / 0.7942 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/0.2883, allocations: 87.27 kB / 0.7943 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.254e-05/0.2884, allocations: 150.6 kB / 0.7944 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-05/0.2884, allocations: 79.22 kB / 0.7945 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.594e-05/0.2884, allocations: 154.6 kB / 0.7946 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2886, allocations: 79.22 kB / 0.7947 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2886, allocations: 83.28 kB / 0.7948 GB, free: 4.191 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.0001028/0.2887, allocations: 267.7 kB / 0.795 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.2888, allocations: 108.9 kB / 0.7951 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.2888, allocations: 108 kB / 0.7953 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/0.2889, allocations: 176.3 kB / 0.7954 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.177e-05/0.289, allocations: 188.2 kB / 0.7956 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/0.2891, allocations: 188.2 kB / 0.7958 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.2893, allocations: 397.2 kB / 0.7962 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-05/0.2893, allocations: 112.9 kB / 0.7963 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.2894, allocations: 109 kB / 0.7964 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-05/0.2894, allocations: 180.2 kB / 0.7965 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.2895, allocations: 180.3 kB / 0.7967 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.697e-05/0.2896, allocations: 184.2 kB / 0.7969 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.052e-05/0.2896, allocations: 180.6 kB / 0.7971 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.2897, allocations: 303.8 kB / 0.7974 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.2898, allocations: 190 kB / 0.7975 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.2899, allocations: 192.2 kB / 0.7977 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.29, allocations: 101 kB / 0.7978 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2901, allocations: 180.3 kB / 0.798 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.2901, allocations: 108.9 kB / 0.7981 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.2902, allocations: 79.28 kB / 0.7982 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2902, allocations: 0 / 0.7982 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003823/0.2906, allocations: 83.92 kB / 0.7982 GB, free: 436 kB / 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.0007014/0.2913, allocations: 401.1 kB / 0.7986 GB, free: 76 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.37e-05/0.2913, allocations: 4 kB / 0.7986 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2913, allocations: 0 / 0.7986 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2913, allocations: 0 / 0.7986 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2917, allocations: 0.5301 MB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.292, allocations: 171.9 kB / 0.7993 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.2922, allocations: 0.6731 MB / 0.8 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.2922, allocations: 0 / 0.8 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.2923, allocations: 11.44 kB / 0.8 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2923, allocations: 7.938 kB / 0.8 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.004744/0.297, allocations: 2.031 MB / 0.802 GB, free: 12.59 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: