Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.127/2.127, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 186.7 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.497/2.497, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001246, allocations: 92.5 kB / 0.6813 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006287, allocations: 15.78 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.266, allocations: 106.2 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.00206/0.2682, allocations: 0.9581 MB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.2714, allocations: 1.176 MB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.2714, allocations: 0 / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.2715, allocations: 0 / 0.9011 GB, free: 63.29 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function ‘Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.00104/0.2725, allocations: 157.8 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2728, allocations: 39.89 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.2729, allocations: 15.92 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.2729, allocations: 0 / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.273, allocations: 11.98 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2732, allocations: 11.98 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2733, allocations: 4 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.274, allocations: 219.7 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.274, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.274, allocations: 29.64 kB / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.2745, allocations: 139.8 kB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2745, allocations: 0 / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2745, allocations: 0 / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2745, allocations: 0 / 0.9017 GB, free: 62.67 MB / 0.6042 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.0004491/0.275, allocations: 379.4 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.275, allocations: 12.02 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.2751, allocations: 76.22 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2753, allocations: 251.6 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2754, allocations: 150.9 kB / 0.9026 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.2754, allocations: 150.9 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.2755, allocations: 109.1 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2755, allocations: 75.28 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.2756, allocations: 154.5 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.2756, allocations: 150.6 kB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.2757, allocations: 162.5 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.276, allocations: 442 kB / 0.9037 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.2761, allocations: 169.1 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.2762, allocations: 84.14 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.2762, allocations: 75.28 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.2763, allocations: 113.8 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 2.595e-06/0.2763, allocations: 4 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001192/0.2764, allocations: 33.64 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.2765, allocations: 203.8 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.2766, allocations: 97.86 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2767, allocations: 25.7 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.2767, allocations: 84.12 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.2768, allocations: 0 / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-07/0.2768, allocations: 0 / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.2769, allocations: 318.8 kB / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.2769, allocations: 0 / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.277, allocations: 18.58 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.277, allocations: 83.33 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/0.277, allocations: 79.22 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001059/0.2772, allocations: 37.58 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.2772, allocations: 83.27 kB / 0.9052 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.2773, allocations: 79.28 kB / 0.9053 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-05/0.2773, allocations: 154.5 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.15e-05/0.2774, allocations: 79.28 kB / 0.9055 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.163e-05/0.2774, allocations: 154.5 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.2777, allocations: 87.28 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2778, allocations: 79.27 kB / 0.9058 GB, free: 58.25 MB / 0.6042 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.0001272/0.2779, allocations: 264.3 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.278, allocations: 112.9 kB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.936e-05/0.2781, allocations: 108.1 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/0.2782, allocations: 184.2 kB / 0.9064 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.885e-05/0.2782, allocations: 180.2 kB / 0.9066 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.424e-05/0.2783, allocations: 180.3 kB / 0.9068 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.2786, allocations: 409.2 kB / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/0.2786, allocations: 101 kB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.2787, allocations: 108.9 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.726e-05/0.2787, allocations: 180.3 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.2788, allocations: 184.3 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.447e-05/0.2789, allocations: 180.2 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.655e-05/0.2789, allocations: 180.6 kB / 0.9081 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.2791, allocations: 307.8 kB / 0.9084 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.2792, allocations: 197.9 kB / 0.9085 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.2793, allocations: 184.2 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.2795, allocations: 105 kB / 0.9088 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.2796, allocations: 184.4 kB / 0.909 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.2797, allocations: 101 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.2797, allocations: 87.27 kB / 0.9092 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2797, allocations: 0 / 0.9092 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008422/0.2806, allocations: 83.92 kB / 0.9093 GB, free: 54.48 MB / 0.6042 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.001184/0.2818, allocations: 395.9 kB / 0.9096 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.749e-05/0.2819, allocations: 4 kB / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2819, allocations: 3.938 kB / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.282, allocations: 0 / 0.9096 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.2825, allocations: 0.5343 MB / 0.9102 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.2829, allocations: 163.9 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.283, allocations: 0.6692 MB / 0.911 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.211e-05/0.2831, allocations: 4 kB / 0.911 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.2832, allocations: 19.42 kB / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/0.2832, allocations: 0 / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.008982/0.2922, allocations: 2.03 MB / 0.913 GB, free: 50.7 MB / 0.6042 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)