Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 254.9 MB / 269.9 MB, free: 9.625 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002622/0.002621, allocations: 193.1 kB / 329.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.285/2.285, allocations: 225.6 MB / 0.6001 GB, free: 3.66 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 94.52 kB / 0.7074 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 9.594 kB / 0.8242 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 109.1 MB / 0.9308 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.001442/0.2155, allocations: 0.9354 MB / 0.9317 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.2176, allocations: 1.185 MB / 0.9328 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.2177, allocations: 0 / 0.9328 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.2177, allocations: 0 / 0.9328 GB, free: 41.28 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.0007882/0.2185, allocations: 159.6 kB / 0.933 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.2187, allocations: 31.95 kB / 0.933 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.2188, allocations: 11.94 kB / 0.933 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.2188, allocations: 4 kB / 0.933 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.2188, allocations: 11.97 kB / 0.9331 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.219, allocations: 11.86 kB / 0.9331 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2191, allocations: 3.938 kB / 0.9331 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.2195, allocations: 219.7 kB / 0.9333 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.2195, allocations: 3.984 kB / 0.9333 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.2196, allocations: 33.7 kB / 0.9333 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.2198, allocations: 131.8 kB / 0.9334 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2199, allocations: 0 / 0.9334 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2199, allocations: 0 / 0.9334 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2199, allocations: 0 / 0.9334 GB, free: 40.66 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.0003423/0.2202, allocations: 379.4 kB / 0.9338 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2203, allocations: 11.98 kB / 0.9338 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.2204, allocations: 80.22 kB / 0.9339 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2205, allocations: 240 kB / 0.9341 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2205, allocations: 158.9 kB / 0.9343 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.2206, allocations: 150.9 kB / 0.9344 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.433e-05/0.2206, allocations: 113.1 kB / 0.9345 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2207, allocations: 75.28 kB / 0.9346 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.2207, allocations: 150.6 kB / 0.9347 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.2208, allocations: 154.6 kB / 0.9349 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.2208, allocations: 150.6 kB / 0.935 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.221, allocations: 446 kB / 0.9355 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.2211, allocations: 173 kB / 0.9356 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.2211, allocations: 88.14 kB / 0.9357 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2212, allocations: 79.31 kB / 0.9358 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.2212, allocations: 117.8 kB / 0.9359 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.2212, allocations: 0 / 0.9359 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.939e-05/0.2213, allocations: 33.58 kB / 0.9359 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.2214, allocations: 203.8 kB / 0.9361 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.2215, allocations: 105.8 kB / 0.9362 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2215, allocations: 29.7 kB / 0.9363 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.2216, allocations: 80.14 kB / 0.9363 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.2216, allocations: 0 / 0.9363 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.2216, allocations: 0 / 0.9363 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.2216, allocations: 310.8 kB / 0.9366 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.2217, allocations: 0 / 0.9366 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.2217, allocations: 18.58 kB / 0.9366 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.2217, allocations: 83.28 kB / 0.9367 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.2218, allocations: 75.28 kB / 0.9368 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.72e-05/0.2219, allocations: 41.56 kB / 0.9368 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.2219, allocations: 83.28 kB / 0.9369 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.222, allocations: 75.28 kB / 0.937 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.288e-05/0.222, allocations: 154.5 kB / 0.9371 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.056e-05/0.222, allocations: 79.28 kB / 0.9372 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.718e-05/0.2221, allocations: 158.5 kB / 0.9374 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.2224, allocations: 83.22 kB / 0.9374 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2224, allocations: 83.27 kB / 0.9375 GB, free: 36.23 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.0001111/0.2226, allocations: 264.9 kB / 0.9378 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.2226, allocations: 112.9 kB / 0.9379 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.2227, allocations: 108.1 kB / 0.938 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/0.2228, allocations: 176.3 kB / 0.9381 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-05/0.2228, allocations: 188.2 kB / 0.9383 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-05/0.2229, allocations: 180.3 kB / 0.9385 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.2231, allocations: 405.2 kB / 0.9389 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/0.2232, allocations: 105 kB / 0.939 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.2232, allocations: 112.9 kB / 0.9391 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.076e-05/0.2233, allocations: 180.4 kB / 0.9393 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.2233, allocations: 176.6 kB / 0.9394 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.751e-05/0.2234, allocations: 184.1 kB / 0.9396 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.012e-05/0.2234, allocations: 184.2 kB / 0.9398 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.2236, allocations: 319.7 kB / 0.9401 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.2236, allocations: 186 kB / 0.9403 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.2237, allocations: 188.2 kB / 0.9404 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.224, allocations: 101 kB / 0.9405 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.224, allocations: 192.2 kB / 0.9407 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.2241, allocations: 101 kB / 0.9408 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.2241, allocations: 75.28 kB / 0.9409 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2241, allocations: 0 / 0.9409 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008262/0.225, allocations: 79.98 kB / 0.941 GB, free: 32.46 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.001207/0.2262, allocations: 456.3 kB / 0.9414 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.2263, allocations: 0 / 0.9414 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2263, allocations: 0 / 0.9414 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.2263, allocations: 3.938 kB / 0.9414 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2269, allocations: 0.5302 MB / 0.9419 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.2272, allocations: 160 kB / 0.9421 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2273, allocations: 0.6731 MB / 0.9427 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.2274, allocations: 4 kB / 0.9427 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2274, allocations: 19.42 kB / 0.9428 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.2274, allocations: 0 / 0.9428 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.008341/0.2358, allocations: 2.029 MB / 0.9447 GB, free: 28.59 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)