Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.83/3.83, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002318/0.002317, allocations: 186.6 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.134/4.134, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 95.83 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008374/0.0008382, allocations: 9.125 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3904, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.7346, allocations: 133.6 MB / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005716/0.7353, allocations: 95.94 kB / 1.03 GB, free: 11.7 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03758/0.7729, allocations: 5.96 MB / 1.036 GB, free: 5.738 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.496e-06/0.773, allocations: 0 / 1.036 GB, free: 5.738 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.773, allocations: 4 kB / 1.036 GB, free: 5.734 MB / 0.6824 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.0008873/0.7739, allocations: 395.3 kB / 1.036 GB, free: 5.297 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/0.774, allocations: 11.97 kB / 1.036 GB, free: 5.285 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.7742, allocations: 84.16 kB / 1.036 GB, free: 5.203 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.7745, allocations: 247.6 kB / 1.037 GB, free: 4.922 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.7746, allocations: 154.9 kB / 1.037 GB, free: 4.77 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.7747, allocations: 154.9 kB / 1.037 GB, free: 4.617 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.7748, allocations: 101.5 kB / 1.037 GB, free: 4.512 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-05/0.7749, allocations: 79.47 kB / 1.037 GB, free: 4.434 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.775, allocations: 154.5 kB / 1.037 GB, free: 4.281 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.667e-05/0.7752, allocations: 150.6 kB / 1.037 GB, free: 4.133 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.7753, allocations: 154.5 kB / 1.038 GB, free: 3.98 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.7759, allocations: 453.9 kB / 1.038 GB, free: 3.488 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.7761, allocations: 169.1 kB / 1.038 GB, free: 3.312 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.7762, allocations: 80.14 kB / 1.038 GB, free: 3.23 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.7763, allocations: 75.28 kB / 1.038 GB, free: 3.156 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.976e-05/0.7764, allocations: 109.8 kB / 1.038 GB, free: 3.039 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=0): time 4.098e-06/0.7764, allocations: 0 / 1.038 GB, free: 3.039 MB / 0.6824 GB Notification: Performance of matching and sorting (n=0): time 0.0001815/0.7766, allocations: 37.58 kB / 1.038 GB, free: 2.996 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.7768, allocations: 203.8 kB / 1.039 GB, free: 2.766 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.777, allocations: 101.8 kB / 1.039 GB, free: 2.656 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.7771, allocations: 25.7 kB / 1.039 GB, free: 2.625 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.7772, allocations: 84.14 kB / 1.039 GB, free: 2.539 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.7772, allocations: 0 / 1.039 GB, free: 2.539 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-07/0.7772, allocations: 4 kB / 1.039 GB, free: 2.535 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.7774, allocations: 310.8 kB / 1.039 GB, free: 2.223 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.7775, allocations: 0 / 1.039 GB, free: 2.223 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.7776, allocations: 26.56 kB / 1.039 GB, free: 2.188 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.7777, allocations: 79.22 kB / 1.039 GB, free: 2.109 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.763e-05/0.7777, allocations: 75.28 kB / 1.039 GB, free: 2.035 MB / 0.6824 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001566/0.7779, allocations: 33.75 kB / 1.039 GB, free: 1.996 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.778, allocations: 83.22 kB / 1.039 GB, free: 1.914 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-05/0.7781, allocations: 87.22 kB / 1.039 GB, free: 1.828 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/0.7782, allocations: 154.5 kB / 1.04 GB, free: 1.676 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.7783, allocations: 75.28 kB / 1.04 GB, free: 1.602 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001065/0.7784, allocations: 158.5 kB / 1.04 GB, free: 1.445 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.7788, allocations: 87.28 kB / 1.04 GB, free: 1.359 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.7789, allocations: 75.28 kB / 1.04 GB, free: 1.285 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002699/0.7791, allocations: 260.4 kB / 1.04 GB, free: 1.02 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.7793, allocations: 104.9 kB / 1.04 GB, free: 0.9102 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.7794, allocations: 116 kB / 1.04 GB, free: 0.7891 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001322/0.7796, allocations: 184.2 kB / 1.041 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001222/0.7797, allocations: 180.3 kB / 1.041 GB, free: 428 kB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001182/0.7799, allocations: 176.3 kB / 1.041 GB, free: 244 kB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.7805, allocations: 409.1 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.942e-05/0.7806, allocations: 105 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/0.7807, allocations: 104.9 kB / 1.042 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.7809, allocations: 188.2 kB / 1.042 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.781, allocations: 180.2 kB / 1.042 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001451/0.7812, allocations: 184.5 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001403/0.7814, allocations: 180.3 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.7818, allocations: 319.7 kB / 1.043 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.782, allocations: 182 kB / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.7821, allocations: 184.4 kB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.7825, allocations: 109 kB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.7827, allocations: 180.2 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.7828, allocations: 113 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001074/0.7829, allocations: 83.27 kB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7829, allocations: 0 / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001208/0.7841, allocations: 99.91 kB / 1.043 GB, free: 13.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.786, allocations: 418.7 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.7862, allocations: 3.938 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7862, allocations: 4 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.7863, allocations: 4 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.7871, allocations: 0.5196 MB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.7881, allocations: 277.7 kB / 1.045 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.7886, allocations: 0.6692 MB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.7887, allocations: 10.5 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.7888, allocations: 15.42 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.104e-06/0.7888, allocations: 0 / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of Templates: time 0.01162/0.8004, allocations: 2.028 MB / 1.047 GB, free: 9.598 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)