Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008995/0.008999, allocations: 105.6 kB / 15.06 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001122/0.001122, allocations: 180.7 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.92/1.92, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.331/2.331, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5454, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT): time 0.302/0.8474, allocations: 210.2 MB / 0.8886 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.8869/1.734, allocations: 176.7 MB / 1.061 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01159/1.746, allocations: 254.1 kB / 1.061 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0128/1.759, allocations: 3.369 MB / 1.065 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.03378/1.793, allocations: 9.819 MB / 1.074 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02411/1.817, allocations: 7.078 MB / 1.081 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.03795/1.855, allocations: 18.88 MB / 1.1 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/1.867, allocations: 5.535 MB / 1.105 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01486/1.882, allocations: 5.442 MB / 1.11 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008251/1.89, allocations: 3.511 MB / 1.114 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.002005/1.892, allocations: 272 kB / 1.114 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.904, allocations: 3.074 MB / 1.117 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002888/1.907, allocations: 1.385 MB / 1.118 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003499/1.911, allocations: 1.674 MB / 1.12 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/1.93, allocations: 11.07 MB / 1.131 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.93, allocations: 4 kB / 1.131 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.419e-06/1.93, allocations: 0 / 1.131 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002591/1.93, allocations: 0 / 1.131 GB, free: 4.699 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1202 * Number of variables: 1202 Notification: Performance of Generate backend data structure: time 0.01964/1.95, allocations: 7.517 MB / 1.138 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.95, allocations: 8.031 kB / 1.138 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/1.964, allocations: 2.336 MB / 1.14 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.982, allocations: 6.895 MB / 1.147 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002496/1.984, allocations: 0.7637 MB / 1.148 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/1.986, allocations: 0.496 MB / 1.148 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/2.004, allocations: 6.045 MB / 1.154 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/2.004, allocations: 7.938 kB / 1.154 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008648/2.005, allocations: 200 kB / 1.155 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/2.005, allocations: 116 kB / 1.155 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02097/2.026, allocations: 5.846 MB / 1.16 GB, free: 5.949 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05729/2.083, allocations: 28.33 MB / 1.188 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/2.104, allocations: 4.863 MB / 1.193 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/2.125, allocations: 9.643 MB / 1.202 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007702/2.133, allocations: 2.289 MB / 1.204 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002727/2.135, allocations: 380.4 kB / 1.205 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=280): time 2.242e-05/2.135, allocations: 0 / 1.205 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=280): time 0.03729/2.173, allocations: 8.433 MB / 1.213 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/2.173, allocations: 295.1 kB / 1.213 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01269/2.186, allocations: 5.912 MB / 1.219 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007133/2.186, allocations: 101.6 kB / 1.219 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00429/2.191, allocations: 3.212 MB / 1.222 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/2.192, allocations: 0.9434 MB / 1.223 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/2.193, allocations: 75.94 kB / 1.223 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003283/2.193, allocations: 441.5 kB / 1.224 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00643/2.199, allocations: 1.803 MB / 1.225 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008029/2.207, allocations: 3.134 MB / 1.229 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007805/2.215, allocations: 2.165 MB / 1.231 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/2.215, allocations: 15.98 kB / 1.231 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=455) (initialization): time 0.03733/2.253, allocations: 6.358 MB / 1.237 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.01037/2.263, allocations: 15.27 MB / 1.252 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/2.263, allocations: 28 kB / 1.252 GB, free: 3.832 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/2.271, allocations: 0.951 MB / 1.253 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009705/2.281, allocations: 0.8971 MB / 1.254 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5211/2.802, allocations: 2.775 MB / 1.256 GB, free: 360.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008322/2.81, allocations: 0.573 MB / 1.257 GB, free: 360.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/2.811, allocations: 201.5 kB / 1.257 GB, free: 360.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/2.811, allocations: 3.812 kB / 1.257 GB, free: 360.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02293/2.834, allocations: 5.788 MB / 1.263 GB, free: 359.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/2.835, allocations: 29.78 kB / 1.263 GB, free: 359.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004343/2.839, allocations: 0.9507 MB / 1.264 GB, free: 359.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008394/2.847, allocations: 0.893 MB / 1.265 GB, free: 359 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009184/2.857, allocations: 2.779 MB / 1.267 GB, free: 357.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/2.87, allocations: 0.5731 MB / 1.268 GB, free: 357 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/2.871, allocations: 192.3 kB / 1.268 GB, free: 357 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.subSta.loa.nextTimeEvent,$whenCondition3,$whenCondition2,subSta.loa.nextTimeEvent,$PRE.subSta.loa.nextTimeEventScaled,subSta.loa.nextTimeEventScaled,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (415): * Single equations (assignments): 406 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 11,1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.00759/2.879, allocations: 1.548 MB / 1.27 GB, free: 356 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002822/2.882, allocations: 0.6256 MB / 1.27 GB, free: 356 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03484/2.917, allocations: 6.282 MB / 1.276 GB, free: 354.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.165e-05/2.917, allocations: 43.94 kB / 1.276 GB, free: 354.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.789e-05/2.917, allocations: 5.125 kB / 1.276 GB, free: 354.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01837/2.935, allocations: 4.751 MB / 1.281 GB, free: 352.6 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03532/2.971, allocations: 11.94 MB / 1.293 GB, free: 347.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/2.971, allocations: 6.812 kB / 1.293 GB, free: 347.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004366/2.975, allocations: 0.6235 MB / 1.293 GB, free: 347.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004128/2.979, allocations: 0.9178 MB / 1.294 GB, free: 347.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005462/2.98, allocations: 88.97 kB / 1.294 GB, free: 347.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/2.986, allocations: 2.827 MB / 1.297 GB, free: 345.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.107e-06/2.986, allocations: 3.969 kB / 1.297 GB, free: 345.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03307/3.019, allocations: 9.159 MB / 1.306 GB, free: 340.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/3.023, allocations: 1.373 MB / 1.307 GB, free: 339.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/3.024, allocations: 57.09 kB / 1.307 GB, free: 339.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007131/3.032, allocations: 0.5665 MB / 1.308 GB, free: 339.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/3.032, allocations: 193.3 kB / 1.308 GB, free: 339 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005263/3.033, allocations: 137.8 kB / 1.308 GB, free: 339 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009413/3.042, allocations: 4.007 MB / 1.312 GB, free: 336.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.151e-06/3.042, allocations: 0 / 1.312 GB, free: 336.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01313/3.055, allocations: 3.323 MB / 1.315 GB, free: 336.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (subSta.del_a.dynBal.U,subSta.del_b.dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,subSta.loa.nextTimeEvent,subSta.loa.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (subSta.loa.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTim1.tNext,subSta.loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 12,1 12,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.006098/3.062, allocations: 2.231 MB / 1.318 GB, free: 335 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02114/3.083, allocations: 7.38 MB / 1.325 GB, free: 327.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/3.083, allocations: 1.281 kB / 1.325 GB, free: 327.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007178/3.09, allocations: 2.239 MB / 1.327 GB, free: 325.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01519/3.105, allocations: 2.996 MB / 1.33 GB, free: 322.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04366/3.149, allocations: 14.34 MB / 1.344 GB, free: 308 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008613/3.158, allocations: 3.47 MB / 1.347 GB, free: 304.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01936/3.177, allocations: 1.648 MB / 1.349 GB, free: 302.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003813/3.181, allocations: 0.5148 MB / 1.349 GB, free: 302.4 MB / 0.9011 GB Notification: Performance of SimCode: time 2.71e-06/3.181, allocations: 0 / 1.349 GB, free: 302.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.3725/3.553, allocations: 135.8 MB / 1.482 GB, free: 168.1 MB / 0.9011 GB