Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.3-maint.7.0.x/package.mo): time 1.221/1.221, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.0009612/0.0009612, allocations: 187.5 kB / 330.8 MB, free: 456 kB / 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 1.273/1.273, allocations: 225.7 MB / 0.6016 GB, free: 15.88 MB / 442.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.0007522/0.0007522, allocations: 97.52 kB / 0.709 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002642, allocations: 7.562 kB / 0.8261 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 109.2 MB / 0.9328 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad): time 0.0009276/0.1442, allocations: 0.9462 MB / 0.9337 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1456, allocations: 1.983 MB / 0.9356 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.1456, allocations: 4 kB / 0.9356 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.1457, allocations: 0 / 0.9356 GB, free: 20.92 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.0004967/0.1462, allocations: 163.6 kB / 0.9358 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.127e-05/0.1463, allocations: 31.94 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.547e-05/0.1463, allocations: 11.94 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.1463, allocations: 0 / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.1464, allocations: 11.94 kB / 0.9358 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1465, allocations: 15.97 kB / 0.9359 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.1465, allocations: 0 / 0.9359 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.1468, allocations: 219.7 kB / 0.9361 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.1468, allocations: 4 kB / 0.9361 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.1468, allocations: 37.69 kB / 0.9361 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1471, allocations: 207.6 kB / 0.9363 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1471, allocations: 7.938 kB / 0.9363 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1471, allocations: 3.938 kB / 0.9363 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.1471, allocations: 0 / 0.9363 GB, free: 20.21 MB / 0.5886 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.0002137/0.1473, allocations: 367.6 kB / 0.9367 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.1474, allocations: 12.03 kB / 0.9367 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1474, allocations: 76.22 kB / 0.9368 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.648e-05/0.1475, allocations: 239.9 kB / 0.937 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1475, allocations: 158.9 kB / 0.9371 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1475, allocations: 154.9 kB / 0.9373 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.116e-05/0.1476, allocations: 105.1 kB / 0.9374 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1476, allocations: 79.22 kB / 0.9375 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1476, allocations: 154.6 kB / 0.9376 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1476, allocations: 154.6 kB / 0.9378 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/0.1476, allocations: 154.5 kB / 0.9379 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1478, allocations: 445.9 kB / 0.9383 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.1478, allocations: 169.1 kB / 0.9385 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.1478, allocations: 84.14 kB / 0.9386 GB, free: 17.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.1479, allocations: 79.33 kB / 0.9386 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1479, allocations: 117.7 kB / 0.9388 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1479, allocations: 0 / 0.9388 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.189e-05/0.1479, allocations: 25.7 kB / 0.9388 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.148, allocations: 215.8 kB / 0.939 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.1481, allocations: 93.86 kB / 0.9391 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.1481, allocations: 29.7 kB / 0.9391 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.1481, allocations: 80.14 kB / 0.9392 GB, free: 17.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.1481, allocations: 0 / 0.9392 GB, free: 17.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1481, allocations: 0 / 0.9392 GB, free: 17.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.326e-05/0.1481, allocations: 314.8 kB / 0.9395 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-06/0.1481, allocations: 0 / 0.9395 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.1482, allocations: 26.5 kB / 0.9395 GB, free: 16.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.059e-05/0.1482, allocations: 79.28 kB / 0.9396 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1482, allocations: 79.28 kB / 0.9397 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.083e-05/0.1482, allocations: 33.55 kB / 0.9397 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1483, allocations: 87.19 kB / 0.9398 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1483, allocations: 75.28 kB / 0.9398 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1483, allocations: 154.5 kB / 0.94 GB, free: 16.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-06/0.1483, allocations: 79.27 kB / 0.9401 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.1483, allocations: 166.5 kB / 0.9402 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1485, allocations: 75.28 kB / 0.9403 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1485, allocations: 79.28 kB / 0.9404 GB, free: 15.8 MB / 0.5886 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 5.29e-05/0.1485, allocations: 261 kB / 0.9406 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1486, allocations: 116.8 kB / 0.9407 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.1486, allocations: 115.9 kB / 0.9408 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.1486, allocations: 184.1 kB / 0.941 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.1487, allocations: 180.3 kB / 0.9412 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.1487, allocations: 176.3 kB / 0.9414 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1488, allocations: 413.1 kB / 0.9418 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.1488, allocations: 109 kB / 0.9419 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.1488, allocations: 112.9 kB / 0.942 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/0.1488, allocations: 180.2 kB / 0.9421 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.1489, allocations: 176.3 kB / 0.9423 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/0.1489, allocations: 184.2 kB / 0.9425 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.809e-05/0.1489, allocations: 180.6 kB / 0.9427 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.357e-05/0.149, allocations: 311.8 kB / 0.9429 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.149, allocations: 190 kB / 0.9431 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.149, allocations: 184.2 kB / 0.9433 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.1491, allocations: 101 kB / 0.9434 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.1492, allocations: 188.2 kB / 0.9436 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1492, allocations: 101 kB / 0.9437 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.095e-05/0.1492, allocations: 87.5 kB / 0.9438 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 0.9438 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003149/0.1495, allocations: 75.98 kB / 0.9438 GB, free: 12.02 MB / 0.5886 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.0005295/0.1501, allocations: 452.9 kB / 0.9443 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.323e-05/0.1501, allocations: 7.938 kB / 0.9443 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1501, allocations: 0 / 0.9443 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1501, allocations: 0 / 0.9443 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1503, allocations: 0.5302 MB / 0.9448 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000148/0.1505, allocations: 160.5 kB / 0.9449 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.472e-05/0.1506, allocations: 0.6731 MB / 0.9456 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.1506, allocations: 4 kB / 0.9456 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.1506, allocations: 11.44 kB / 0.9456 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.1506, allocations: 4 kB / 0.9456 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.003502/0.1542, allocations: 2.065 MB / 0.9476 GB, free: 8.117 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)