Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.111/2.111, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.002234/0.002234, allocations: 179.2 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.355/2.355, 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.001185/0.001184, allocations: 96.31 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004946, allocations: 11.69 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.485, allocations: 439.2 MB / 1.328 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/1.486, allocations: 95.41 kB / 1.328 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.679/8.165, allocations: 1.245 GB / 2.573 GB, free: 92.21 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.455e-06/8.165, allocations: 0 / 2.573 GB, free: 92.21 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005571/8.166, allocations: 76.62 kB / 2.573 GB, free: 92.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01301/8.179, allocations: 3.23 MB / 2.576 GB, free: 90.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/8.179, allocations: 8.812 kB / 2.576 GB, free: 90.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009366/8.188, allocations: 1.007 MB / 2.577 GB, free: 90.63 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/8.199, allocations: 2.944 MB / 2.58 GB, free: 90.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/8.199, allocations: 152.1 kB / 2.58 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/8.2, allocations: 202.9 kB / 2.58 GB, free: 90.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/8.21, allocations: 2.471 MB / 2.583 GB, free: 89.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.252e-05/8.21, allocations: 3.094 kB / 2.583 GB, free: 89.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/8.21, allocations: 76.59 kB / 2.583 GB, free: 89.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-05/8.21, allocations: 55.66 kB / 2.583 GB, free: 89.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/8.222, allocations: 2.354 MB / 2.585 GB, free: 89.79 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.02754/8.249, allocations: 12.12 MB / 2.597 GB, free: 83.79 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/8.262, allocations: 2.094 MB / 2.599 GB, free: 83.76 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/8.263, allocations: 1.375 MB / 2.6 GB, free: 82.26 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/8.263, allocations: 46.94 kB / 2.6 GB, free: 82.22 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002925/8.266, allocations: 281.3 kB / 2.601 GB, free: 82.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 7.905e-06/8.266, allocations: 2.344 kB / 2.601 GB, free: 82.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.05452/8.321, allocations: 8.162 MB / 2.609 GB, free: 81.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/8.321, allocations: 166.9 kB / 2.609 GB, free: 81.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/8.326, allocations: 1.867 MB / 2.611 GB, free: 80.87 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000563/8.327, allocations: 54.33 kB / 2.611 GB, free: 80.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/8.328, allocations: 1.196 MB / 2.612 GB, free: 80.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007162/8.329, allocations: 388.8 kB / 2.612 GB, free: 80.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/8.329, allocations: 34.12 kB / 2.612 GB, free: 80.19 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001214/8.329, allocations: 359.4 kB / 2.613 GB, free: 79.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005734/8.335, allocations: 0.8902 MB / 2.613 GB, free: 79.88 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007571/8.343, allocations: 1.372 MB / 2.615 GB, free: 79.35 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/8.35, allocations: 0.9854 MB / 2.616 GB, free: 79.31 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/8.35, allocations: 7.875 kB / 2.616 GB, free: 79.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.02352/8.374, allocations: 2.979 MB / 2.619 GB, free: 79.06 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001112/8.375, allocations: 3.735 MB / 2.622 GB, free: 75.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.422e-05/8.375, allocations: 10.34 kB / 2.622 GB, free: 75.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/8.389, allocations: 1.322 MB / 2.624 GB, free: 75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/8.393, allocations: 334.6 kB / 2.624 GB, free: 75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03491/8.428, allocations: 6.221 MB / 2.63 GB, free: 73.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008761/8.437, allocations: 386.7 kB / 2.63 GB, free: 72.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007107/8.438, allocations: 79.3 kB / 2.63 GB, free: 72.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/8.438, allocations: 3.688 kB / 2.63 GB, free: 72.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01587/8.454, allocations: 2.318 MB / 2.633 GB, free: 72.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/8.454, allocations: 10.69 kB / 2.633 GB, free: 72.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007677/8.462, allocations: 0.6604 MB / 2.633 GB, free: 72.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005318/8.467, allocations: 398.9 kB / 2.634 GB, free: 72.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03475/8.502, allocations: 6.876 MB / 2.64 GB, free: 70.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007942/8.51, allocations: 334.9 kB / 2.641 GB, free: 70.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/8.511, allocations: 73.14 kB / 2.641 GB, free: 70.03 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (126): * Single equations (assignments): 124 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 35} Notification: Performance of prepare postOptimizeDAE: time 0.002979/8.514, allocations: 0.6219 MB / 2.641 GB, free: 69.84 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/8.515, allocations: 230.3 kB / 2.642 GB, free: 69.71 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/8.532, allocations: 2.495 MB / 2.644 GB, free: 69.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.766e-05/8.532, allocations: 19.66 kB / 2.644 GB, free: 69.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/8.533, allocations: 4 kB / 2.644 GB, free: 69.53 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01433/8.547, allocations: 2.332 MB / 2.646 GB, free: 69.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/8.566, allocations: 4.85 MB / 2.651 GB, free: 68.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/8.566, allocations: 6.625 kB / 2.651 GB, free: 68.56 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/8.569, allocations: 264.2 kB / 2.651 GB, free: 68.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005108/8.574, allocations: 0.766 MB / 2.652 GB, free: 68.52 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/8.574, allocations: 37.92 kB / 2.652 GB, free: 68.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/8.578, allocations: 1.465 MB / 2.654 GB, free: 67.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/8.578, allocations: 1.969 kB / 2.654 GB, free: 67.96 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/8.593, allocations: 3.578 MB / 2.657 GB, free: 67.48 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/8.595, allocations: 0.5174 MB / 2.658 GB, free: 67.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008424/8.596, allocations: 29.16 kB / 2.658 GB, free: 67.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004565/8.6, allocations: 305.8 kB / 2.658 GB, free: 67.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/8.601, allocations: 73.78 kB / 2.658 GB, free: 67.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/8.601, allocations: 49.45 kB / 2.658 GB, free: 67.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003917/8.605, allocations: 1.44 MB / 2.659 GB, free: 67.08 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.42e-07/8.605, allocations: 3.875 kB / 2.659 GB, free: 67.08 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00817/8.613, allocations: 1.283 MB / 2.661 GB, free: 67.02 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * 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 (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.002687/8.616, allocations: 1.152 MB / 2.662 GB, free: 66.62 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01563/8.632, allocations: 3.786 MB / 2.666 GB, free: 65.67 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/8.632, allocations: 0 / 2.666 GB, free: 65.67 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004451/8.636, allocations: 0.989 MB / 2.666 GB, free: 65.37 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009748/8.646, allocations: 1.132 MB / 2.668 GB, free: 65.12 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/8.667, allocations: 5.732 MB / 2.673 GB, free: 62.17 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/8.668, allocations: 1.677 MB / 2.675 GB, free: 61.37 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004069/8.673, allocations: 477.9 kB / 2.675 GB, free: 61.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/8.674, allocations: 182.4 kB / 2.675 GB, free: 61.25 MB / 0.9011 GB Notification: Performance of SimCode: time 1.664e-06/8.674, allocations: 0 / 2.675 GB, free: 61.25 MB / 0.9011 GB Notification: Performance of Templates: time 0.1449/8.819, allocations: 61.48 MB / 2.736 GB, free: 15.18 MB / 0.9011 GB