Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.51/2.51, allocations: 287.9 MB / 302.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 171.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.36 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 12.47 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1676, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT): time 0.942/1.11, allocations: 212.6 MB / 1.186 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.3011/1.411, allocations: 176.8 MB / 1.359 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01198/1.423, allocations: 258.2 kB / 1.359 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01402/1.437, allocations: 3.374 MB / 1.363 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.04597/1.483, allocations: 9.839 MB / 1.372 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03062/1.514, allocations: 7.705 MB / 1.38 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.04016/1.554, allocations: 18.8 MB / 1.398 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/1.567, allocations: 5.573 MB / 1.404 GB, free: 6.688 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01555/1.582, allocations: 5.48 MB / 1.409 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007973/1.59, allocations: 3.476 MB / 1.412 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.001947/1.592, allocations: 268 kB / 1.413 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/1.605, allocations: 3.132 MB / 1.416 GB, free: 10.3 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.003046/1.608, allocations: 1.412 MB / 1.417 GB, free: 8.879 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.003635/1.612, allocations: 1.673 MB / 1.419 GB, free: 7.195 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.7337/2.345, allocations: 11.15 MB / 1.429 GB, free: 43.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.681e-06/2.345, allocations: 0 / 1.429 GB, free: 43.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.197e-06/2.345, allocations: 0.625 kB / 1.429 GB, free: 43.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003127/2.346, allocations: 0 / 1.429 GB, free: 43.66 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1205 * Number of variables: 1205 Notification: Performance of Generate backend data structure: time 0.02086/2.367, allocations: 7.476 MB / 1.437 GB, free: 40.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/2.367, allocations: 9.469 kB / 1.437 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/2.381, allocations: 2.218 MB / 1.439 GB, free: 39.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/2.4, allocations: 6.881 MB / 1.446 GB, free: 38.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003128/2.404, allocations: 0.7586 MB / 1.446 GB, free: 38.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/2.406, allocations: 495.6 kB / 1.447 GB, free: 38.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/2.427, allocations: 6.014 MB / 1.453 GB, free: 37.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001653/2.427, allocations: 11.55 kB / 1.453 GB, free: 37.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/2.428, allocations: 199.2 kB / 1.453 GB, free: 37.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/2.428, allocations: 119 kB / 1.453 GB, free: 37.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/2.448, allocations: 5.716 MB / 1.459 GB, free: 37.76 MB / 0.948 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.06091/2.509, allocations: 28.01 MB / 1.486 GB, free: 25.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/2.529, allocations: 4.783 MB / 1.491 GB, free: 25.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01916/2.548, allocations: 9.182 MB / 1.5 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007404/2.556, allocations: 2.27 MB / 1.502 GB, free: 21.25 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003257/2.559, allocations: 378.1 kB / 1.502 GB, free: 21.08 MB / 0.948 GB Notification: Performance of pre-optimization done (n=288): time 1.328e-05/2.559, allocations: 0.9375 kB / 1.502 GB, free: 21.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.03685/2.596, allocations: 8.4 MB / 1.51 GB, free: 20.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/2.596, allocations: 322.1 kB / 1.511 GB, free: 19.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01263/2.609, allocations: 5.94 MB / 1.517 GB, free: 19.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009433/2.61, allocations: 102.8 kB / 1.517 GB, free: 19.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004299/2.614, allocations: 3.207 MB / 1.52 GB, free: 18.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/2.615, allocations: 0.965 MB / 1.521 GB, free: 17.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/2.616, allocations: 69.94 kB / 1.521 GB, free: 17.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002547/2.616, allocations: 446.2 kB / 1.521 GB, free: 17.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006482/2.623, allocations: 1.735 MB / 1.523 GB, free: 17.33 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007502/2.63, allocations: 3.087 MB / 1.526 GB, free: 15.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006687/2.637, allocations: 2.026 MB / 1.528 GB, free: 15.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-05/2.637, allocations: 12.12 kB / 1.528 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02208/2.659, allocations: 5.969 MB / 1.534 GB, free: 14.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004577/2.664, allocations: 15.24 MB / 1.549 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/2.664, allocations: 30.66 kB / 1.549 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/2.668, allocations: 0.942 MB / 1.55 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005106/2.673, allocations: 0.8815 MB / 1.55 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/2.679, allocations: 2.777 MB / 1.553 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009447/2.689, allocations: 0.5665 MB / 1.554 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/2.69, allocations: 193.1 kB / 1.554 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/2.691, allocations: 4.094 kB / 1.554 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02458/2.715, allocations: 5.369 MB / 1.559 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/2.715, allocations: 30.44 kB / 1.559 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/2.72, allocations: 0.9495 MB / 1.56 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005141/2.725, allocations: 0.8734 MB / 1.561 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/2.73, allocations: 2.784 MB / 1.564 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008363/2.739, allocations: 0.5635 MB / 1.564 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009868/2.74, allocations: 193.8 kB / 1.564 GB, free: 8.723 MB / 0.9636 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.conTimMin.tNext,weaDat.conTimMin.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 (412): * Single equations (assignments): 406 * Array equations: 3 * Algorithm blocks: 0 * 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.004593/2.745, allocations: 1.537 MB / 1.566 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/2.746, allocations: 0.6378 MB / 1.567 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/2.772, allocations: 6.503 MB / 1.573 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/2.772, allocations: 37.58 kB / 1.573 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/2.772, allocations: 3.625 kB / 1.573 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01989/2.792, allocations: 4.964 MB / 1.578 GB, free: 5.125 MB / 0.9636 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.03851/2.83, allocations: 12.04 MB / 1.59 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.414e-05/2.83, allocations: 4.188 kB / 1.59 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004207/2.834, allocations: 0.6409 MB / 1.59 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004227/2.839, allocations: 0.9186 MB / 1.591 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006979/2.839, allocations: 91.88 kB / 1.591 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/2.845, allocations: 2.746 MB / 1.594 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.814e-06/2.845, allocations: 7 kB / 1.594 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02882/2.874, allocations: 8.852 MB / 1.602 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004759/2.879, allocations: 1.378 MB / 1.604 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/2.881, allocations: 65.48 kB / 1.604 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007817/2.889, allocations: 0.5453 MB / 1.604 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007562/2.89, allocations: 209.9 kB / 1.605 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006842/2.89, allocations: 148.9 kB / 1.605 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01026/2.901, allocations: 4.037 MB / 1.609 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.126e-06/2.901, allocations: 0 / 1.609 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01583/2.916, allocations: 3.341 MB / 1.612 GB, free: 13.55 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (subSta.loa.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,subSta.loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 270 * 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.006754/2.923, allocations: 2.185 MB / 1.614 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02764/2.951, allocations: 6.826 MB / 1.621 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/2.951, allocations: 0.9375 kB / 1.621 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0135/2.965, allocations: 2.176 MB / 1.623 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03254/2.997, allocations: 3.061 MB / 1.626 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0664/3.064, allocations: 14.45 MB / 1.64 GB, free: 5.965 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006825/3.07, allocations: 3.498 MB / 1.643 GB, free: 2.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01185/3.082, allocations: 1.646 MB / 1.645 GB, free: 1.039 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/3.085, allocations: 0.5216 MB / 1.646 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of SimCode: time 1.996e-06/3.085, allocations: 0 / 1.646 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of Templates: time 0.3542/3.439, allocations: 136.5 MB / 1.779 GB, free: 9.406 MB / 1.151 GB