Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.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 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.Validation.HeatingCoolingHotwaterTimeSeries_dT,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.156/2.156, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001658/0.001658, allocations: 181.8 kB / 325.6 MB, free: 2.852 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.542/2.542, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.00118/0.001179, allocations: 85.73 kB / 0.6811 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.000473, allocations: 14.5 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 106.3 MB / 0.8989 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT): time 1.07/1.299, allocations: 212.6 MB / 1.107 GB, free: 32.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3385/1.638, allocations: 176.7 MB / 1.279 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01245/1.65, allocations: 254.2 kB / 1.279 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01696/1.667, allocations: 3.381 MB / 1.283 GB, free: 15.81 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.04582/1.713, allocations: 9.847 MB / 1.292 GB, free: 5.949 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.03395/1.747, allocations: 7.422 MB / 1.3 GB, free: 14.65 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.05134/1.798, allocations: 18.78 MB / 1.318 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/1.815, allocations: 5.567 MB / 1.323 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01921/1.834, allocations: 5.399 MB / 1.329 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/1.845, allocations: 3.494 MB / 1.332 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.003107/1.848, allocations: 272 kB / 1.332 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/1.864, allocations: 3.054 MB / 1.335 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003875/1.868, allocations: 1.401 MB / 1.337 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.004901/1.873, allocations: 1.677 MB / 1.338 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02343/1.896, allocations: 11.06 MB / 1.349 GB, free: 11.79 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.896, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 0.8699 GB Notification: Performance of FrontEnd: time 7.495e-06/1.896, allocations: 0 / 1.349 GB, free: 11.79 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.0004495/1.897, allocations: 3.938 kB / 1.349 GB, free: 11.79 MB / 0.8699 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.02704/1.924, allocations: 7.444 MB / 1.356 GB, free: 4.223 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.924, allocations: 12.56 kB / 1.356 GB, free: 4.211 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/1.942, allocations: 2.211 MB / 1.358 GB, free: 1.988 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/1.965, allocations: 6.873 MB / 1.365 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004199/1.969, allocations: 0.7598 MB / 1.366 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/1.971, allocations: 492 kB / 1.366 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/1.996, allocations: 6.018 MB / 1.372 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/1.997, allocations: 11.84 kB / 1.372 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/1.998, allocations: 203.9 kB / 1.372 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/1.999, allocations: 120 kB / 1.373 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02731/2.026, allocations: 5.713 MB / 1.378 GB, free: 13.45 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 preOpt removeSimpleEquations (simulation): time 0.7116/2.737, allocations: 28.23 MB / 1.406 GB, free: 346.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02897/2.766, allocations: 4.786 MB / 1.41 GB, free: 346.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/2.793, allocations: 9.178 MB / 1.419 GB, free: 342.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01125/2.804, allocations: 2.259 MB / 1.422 GB, free: 342.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004032/2.808, allocations: 383.4 kB / 1.422 GB, free: 342.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=288): time 2.535e-05/2.808, allocations: 0 / 1.422 GB, free: 342.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=288): time 0.05769/2.866, allocations: 8.411 MB / 1.43 GB, free: 341.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/2.866, allocations: 313.5 kB / 1.43 GB, free: 341.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01651/2.883, allocations: 5.941 MB / 1.436 GB, free: 339.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/2.884, allocations: 99.98 kB / 1.436 GB, free: 339.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005695/2.89, allocations: 3.211 MB / 1.439 GB, free: 336.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001893/2.892, allocations: 0.9699 MB / 1.44 GB, free: 336 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/2.892, allocations: 73.31 kB / 1.441 GB, free: 335.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003032/2.893, allocations: 438.1 kB / 1.441 GB, free: 335.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00909/2.902, allocations: 1.745 MB / 1.443 GB, free: 335 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/2.912, allocations: 3.082 MB / 1.446 GB, free: 332.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009064/2.921, allocations: 2.023 MB / 1.448 GB, free: 332 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.096e-05/2.921, allocations: 7.719 kB / 1.448 GB, free: 332 MB / 0.9167 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02997/2.951, allocations: 5.976 MB / 1.453 GB, free: 329.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003318/2.954, allocations: 15.25 MB / 1.468 GB, free: 312.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/2.955, allocations: 34.14 kB / 1.468 GB, free: 312.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005605/2.96, allocations: 0.9538 MB / 1.469 GB, free: 312.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007356/2.968, allocations: 0.8824 MB / 1.47 GB, free: 312.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/2.975, allocations: 2.772 MB / 1.473 GB, free: 310 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/2.985, allocations: 0.5693 MB / 1.473 GB, free: 309.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/2.987, allocations: 189.1 kB / 1.474 GB, free: 309.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/2.987, allocations: 3.625 kB / 1.474 GB, free: 309.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02669/3.013, allocations: 5.353 MB / 1.479 GB, free: 307.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/3.013, allocations: 34.94 kB / 1.479 GB, free: 307.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005393/3.019, allocations: 0.9522 MB / 1.48 GB, free: 306.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007155/3.026, allocations: 0.8756 MB / 1.481 GB, free: 305.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/3.033, allocations: 2.784 MB / 1.483 GB, free: 303 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/3.044, allocations: 0.5719 MB / 1.484 GB, free: 302.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/3.045, allocations: 187.9 kB / 1.484 GB, free: 302.3 MB / 0.9167 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.005305/3.05, allocations: 1.544 MB / 1.486 GB, free: 300.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/3.052, allocations: 0.6328 MB / 1.486 GB, free: 300.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03405/3.086, allocations: 6.498 MB / 1.493 GB, free: 293.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.968e-05/3.086, allocations: 39.98 kB / 1.493 GB, free: 293.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/3.087, allocations: 4 kB / 1.493 GB, free: 293.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02793/3.114, allocations: 4.954 MB / 1.497 GB, free: 288.5 MB / 0.9167 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.04417/3.159, allocations: 12.03 MB / 1.509 GB, free: 276.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-05/3.159, allocations: 8.344 kB / 1.509 GB, free: 276.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005798/3.165, allocations: 0.6399 MB / 1.51 GB, free: 275.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005251/3.17, allocations: 0.9193 MB / 1.511 GB, free: 274.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007588/3.171, allocations: 103.6 kB / 1.511 GB, free: 274.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006717/3.177, allocations: 2.744 MB / 1.514 GB, free: 271.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/3.177, allocations: 8 kB / 1.514 GB, free: 271.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03615/3.214, allocations: 8.844 MB / 1.522 GB, free: 262.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004932/3.219, allocations: 1.382 MB / 1.524 GB, free: 261.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/3.221, allocations: 67.98 kB / 1.524 GB, free: 261.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/3.231, allocations: 0.5462 MB / 1.524 GB, free: 260.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008871/3.232, allocations: 214 kB / 1.524 GB, free: 260.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006648/3.233, allocations: 147.8 kB / 1.524 GB, free: 260.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01121/3.244, allocations: 4.032 MB / 1.528 GB, free: 256.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.343e-06/3.244, allocations: 0 / 1.528 GB, free: 256.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01594/3.26, allocations: 3.297 MB / 1.532 GB, free: 253.2 MB / 0.9167 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.006553/3.267, allocations: 2.138 MB / 1.534 GB, free: 251.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03252/3.299, allocations: 6.828 MB / 1.54 GB, free: 244.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/3.299, allocations: 8.844 kB / 1.54 GB, free: 244.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01149/3.311, allocations: 2.169 MB / 1.543 GB, free: 242.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02331/3.334, allocations: 3.065 MB / 1.546 GB, free: 239.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04442/3.379, allocations: 14.45 MB / 1.56 GB, free: 225.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005591/3.384, allocations: 3.493 MB / 1.563 GB, free: 221.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01313/3.398, allocations: 1.655 MB / 1.565 GB, free: 219.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/3.401, allocations: 0.511 MB / 1.565 GB, free: 219.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/3.401, allocations: 0 / 1.565 GB, free: 219.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.3446/3.745, allocations: 135.8 MB / 1.698 GB, free: 83.86 MB / 0.9167 GB