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.206/2.206, allocations: 252.6 MB / 265.2 MB, free: 5.715 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 169.4 kB / 324.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001069/0.001063, allocations: 86.45 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.482e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1932, allocations: 106.2 MB / 0.8949 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.086, allocations: 439.1 MB / 1.324 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/2.086, allocations: 96.03 kB / 1.324 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.961/8.047, allocations: 1.241 GB / 2.565 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/8.047, allocations: 4 kB / 2.565 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005055/8.047, allocations: 79.92 kB / 2.565 GB, free: 11.82 MB / 0.8855 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.008911/8.056, allocations: 2.732 MB / 2.568 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.787e-05/8.057, allocations: 16.03 kB / 2.568 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009069/8.066, allocations: 1.007 MB / 2.569 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/8.076, allocations: 2.907 MB / 2.571 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/8.076, allocations: 151.7 kB / 2.571 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005248/8.076, allocations: 200 kB / 2.572 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/8.082, allocations: 2.122 MB / 2.574 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/8.082, allocations: 7.938 kB / 2.574 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/8.082, allocations: 76 kB / 2.574 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.498e-05/8.082, allocations: 55.89 kB / 2.574 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004562/8.087, allocations: 1.669 MB / 2.576 GB, free: 0.6719 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.02923/8.116, allocations: 12.11 MB / 2.587 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007071/8.123, allocations: 1.407 MB / 2.589 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/8.125, allocations: 0.6587 MB / 2.589 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/8.127, allocations: 1.366 MB / 2.591 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/8.127, allocations: 51.52 kB / 2.591 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00292/8.13, allocations: 282.5 kB / 2.591 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=105): time 5.931e-06/8.13, allocations: 0 / 2.591 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111): time 0.01302/8.143, allocations: 3.324 MB / 2.594 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/8.143, allocations: 167.2 kB / 2.594 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/8.148, allocations: 1.803 MB / 2.596 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005268/8.149, allocations: 53.7 kB / 2.596 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/8.151, allocations: 1.2 MB / 2.597 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009016/8.152, allocations: 382.4 kB / 2.598 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/8.152, allocations: 28 kB / 2.598 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002574/8.152, allocations: 362.1 kB / 2.598 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/8.155, allocations: 0.5585 MB / 2.599 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003124/8.158, allocations: 1.034 MB / 2.6 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/8.161, allocations: 0.6637 MB / 2.6 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/8.161, allocations: 0 / 2.6 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01814/8.179, allocations: 2.452 MB / 2.603 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.7242/8.903, allocations: 3.735 MB / 2.606 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.584e-05/8.904, allocations: 8.906 kB / 2.606 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008274/8.912, allocations: 1.081 MB / 2.607 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/8.915, allocations: 330.8 kB / 2.608 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/8.932, allocations: 5.27 MB / 2.613 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00637/8.938, allocations: 408.3 kB / 2.613 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006825/8.939, allocations: 74.45 kB / 2.613 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/8.939, allocations: 5.125 kB / 2.613 GB, free: 98.87 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01296/8.952, allocations: 2.099 MB / 2.615 GB, free: 98.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/8.952, allocations: 9.812 kB / 2.615 GB, free: 98.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/8.957, allocations: 0.5976 MB / 2.616 GB, free: 98.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003686/8.961, allocations: 394.3 kB / 2.616 GB, free: 98.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/8.979, allocations: 6.224 MB / 2.622 GB, free: 96.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/8.986, allocations: 355.4 kB / 2.623 GB, free: 96.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005981/8.986, allocations: 71.77 kB / 2.623 GB, free: 96.18 MB / 0.9167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.0007695/8.987, allocations: 190.5 kB / 2.623 GB, free: 96.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000993/8.988, allocations: 230.6 kB / 2.623 GB, free: 96.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/8.997, allocations: 1.864 MB / 2.625 GB, free: 95.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/8.997, allocations: 12.88 kB / 2.625 GB, free: 95.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/8.997, allocations: 5.859 kB / 2.625 GB, free: 95.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005455/9.002, allocations: 1.695 MB / 2.627 GB, free: 95.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/9.019, allocations: 4.237 MB / 2.631 GB, free: 95.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/9.019, allocations: 1.547 kB / 2.631 GB, free: 95.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/9.023, allocations: 263.5 kB / 2.631 GB, free: 95.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005375/9.028, allocations: 0.6125 MB / 2.632 GB, free: 95.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003749/9.029, allocations: 37.47 kB / 2.632 GB, free: 95.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/9.032, allocations: 1.238 MB / 2.633 GB, free: 94.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/9.032, allocations: 5.344 kB / 2.633 GB, free: 94.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/9.047, allocations: 2.886 MB / 2.636 GB, free: 94.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/9.05, allocations: 0.5142 MB / 2.636 GB, free: 93.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007943/9.051, allocations: 23.67 kB / 2.636 GB, free: 93.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005958/9.057, allocations: 312.8 kB / 2.637 GB, free: 93.97 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/9.057, allocations: 78.17 kB / 2.637 GB, free: 93.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/9.058, allocations: 49.88 kB / 2.637 GB, free: 93.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005383/9.063, allocations: 1.366 MB / 2.638 GB, free: 93.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.62e-07/9.063, allocations: 2.531 kB / 2.638 GB, free: 93.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0107/9.074, allocations: 1.28 MB / 2.639 GB, free: 93.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 78 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.003894/9.078, allocations: 1.13 MB / 2.64 GB, free: 93.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0117/9.089, allocations: 2.971 MB / 2.643 GB, free: 93.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/9.09, allocations: 4.578 kB / 2.643 GB, free: 93.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/9.092, allocations: 0.7061 MB / 2.644 GB, free: 93.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/9.102, allocations: 1.136 MB / 2.645 GB, free: 93.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/9.119, allocations: 3.699 MB / 2.649 GB, free: 92.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/9.121, allocations: 1.685 MB / 2.65 GB, free: 91.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006107/9.128, allocations: 0.5991 MB / 2.651 GB, free: 91.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/9.128, allocations: 137.9 kB / 2.651 GB, free: 91.47 MB / 0.9167 GB Notification: Performance of SimCode: time 1.924e-06/9.128, allocations: 0 / 2.651 GB, free: 91.47 MB / 0.9167 GB Notification: Performance of Templates: time 0.1568/9.285, allocations: 67.43 MB / 2.717 GB, free: 88.88 MB / 0.9167 GB