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_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.222/2.222, allocations: 253.2 MB / 260.6 MB, free: 7.426 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.001976/0.001976, allocations: 188.7 kB / 319.9 MB, free: 3.066 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.072/2.072, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001165/0.001165, allocations: 86.7 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.021e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 106.3 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/2.094, allocations: 439 MB / 1.317 GB, free: 250 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/2.094, allocations: 97.5 kB / 1.317 GB, free: 250 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.002/8.096, allocations: 1.235 GB / 2.553 GB, free: 31.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.764e-06/8.096, allocations: 0 / 2.553 GB, free: 31.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005058/8.097, allocations: 73.23 kB / 2.553 GB, free: 31.88 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.009161/8.106, allocations: 2.736 MB / 2.556 GB, free: 29.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/8.106, allocations: 12.03 kB / 2.556 GB, free: 29.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009039/8.115, allocations: 0.9992 MB / 2.557 GB, free: 28.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009772/8.125, allocations: 2.911 MB / 2.559 GB, free: 25.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/8.125, allocations: 60 kB / 2.559 GB, free: 25.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/8.126, allocations: 116 kB / 2.56 GB, free: 25.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005538/8.131, allocations: 1.577 MB / 2.561 GB, free: 23.44 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007118/8.138, allocations: 1.861 MB / 2.563 GB, free: 21.49 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-05/8.139, allocations: 0 / 2.563 GB, free: 21.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/8.139, allocations: 4 kB / 2.563 GB, free: 21.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.074e-05/8.139, allocations: 55.95 kB / 2.563 GB, free: 21.43 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.03151/8.171, allocations: 11.76 MB / 2.574 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009271/8.18, allocations: 1.62 MB / 2.576 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/8.182, allocations: 0.6573 MB / 2.577 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/8.183, allocations: 1.372 MB / 2.578 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/8.183, allocations: 43.88 kB / 2.578 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002605/8.186, allocations: 242.5 kB / 2.578 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 7.444e-06/8.186, allocations: 3.938 kB / 2.578 GB, free: 4.723 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.01428/8.2, allocations: 3.433 MB / 2.582 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/8.2, allocations: 167.5 kB / 2.582 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/8.204, allocations: 1.551 MB / 2.583 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004822/8.205, allocations: 29.7 kB / 2.583 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/8.206, allocations: 1.196 MB / 2.584 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/8.207, allocations: 374.5 kB / 2.585 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/8.207, allocations: 0 / 2.585 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001976/8.207, allocations: 361.9 kB / 2.585 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/8.209, allocations: 0.5389 MB / 2.586 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/8.211, allocations: 0.9955 MB / 2.587 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/8.214, allocations: 0.7187 MB / 2.587 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/8.214, allocations: 6.734 kB / 2.587 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01394/8.228, allocations: 2.376 MB / 2.59 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001622/8.23, allocations: 3.708 MB / 2.593 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/8.23, allocations: 12 kB / 2.593 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006041/8.236, allocations: 0.8362 MB / 2.594 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/8.239, allocations: 367.5 kB / 2.595 GB, free: 3.336 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7598/8.999, allocations: 5.284 MB / 2.6 GB, free: 90.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/9.005, allocations: 366.4 kB / 2.6 GB, free: 90.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006084/9.006, allocations: 75.7 kB / 2.6 GB, free: 90.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/9.006, allocations: 8.406 kB / 2.6 GB, free: 90.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01257/9.018, allocations: 2.016 MB / 2.602 GB, free: 90.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/9.019, allocations: 8.719 kB / 2.602 GB, free: 90.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/9.023, allocations: 0.5728 MB / 2.603 GB, free: 90.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/9.027, allocations: 392.4 kB / 2.603 GB, free: 90.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/9.045, allocations: 6.959 MB / 2.61 GB, free: 86.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/9.05, allocations: 322.3 kB / 2.61 GB, free: 86.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/9.051, allocations: 70.14 kB / 2.61 GB, free: 86.45 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005759/9.052, allocations: 142 kB / 2.61 GB, free: 86.35 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008614/9.053, allocations: 221.8 kB / 2.611 GB, free: 86.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006737/9.059, allocations: 1.773 MB / 2.612 GB, free: 86.23 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/9.059, allocations: 12.28 kB / 2.612 GB, free: 86.23 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/9.059, allocations: 6.219 kB / 2.612 GB, free: 86.23 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004403/9.064, allocations: 1.653 MB / 2.614 GB, free: 85.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/9.076, allocations: 3.963 MB / 2.618 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/9.076, allocations: 2.078 kB / 2.618 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/9.079, allocations: 296 kB / 2.618 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/9.081, allocations: 384.7 kB / 2.618 GB, free: 85.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/9.082, allocations: 23.11 kB / 2.618 GB, free: 85.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/9.084, allocations: 1.534 MB / 2.62 GB, free: 84.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/9.084, allocations: 0 / 2.62 GB, free: 84.26 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007569/9.091, allocations: 2.498 MB / 2.622 GB, free: 83.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/9.093, allocations: 0.4996 MB / 2.623 GB, free: 83.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005818/9.094, allocations: 6.375 kB / 2.623 GB, free: 83.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004364/9.098, allocations: 296.9 kB / 2.623 GB, free: 83.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/9.099, allocations: 79.91 kB / 2.623 GB, free: 83.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/9.099, allocations: 54.94 kB / 2.623 GB, free: 83.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003076/9.102, allocations: 1.157 MB / 2.624 GB, free: 83.55 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.51e-07/9.102, allocations: 0 / 2.624 GB, free: 83.55 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01134/9.113, allocations: 1.264 MB / 2.626 GB, free: 83.55 MB / 0.9011 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 (101): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003336/9.117, allocations: 1.141 MB / 2.627 GB, free: 83.31 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008429/9.125, allocations: 2.894 MB / 2.63 GB, free: 82.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/9.125, allocations: 1.75 kB / 2.63 GB, free: 82.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/9.127, allocations: 0.6704 MB / 2.63 GB, free: 82.81 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009609/9.137, allocations: 1.04 MB / 2.631 GB, free: 82.79 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/9.155, allocations: 3.643 MB / 2.635 GB, free: 81.93 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/9.158, allocations: 1.678 MB / 2.636 GB, free: 81.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.006349/9.164, allocations: 0.5759 MB / 2.637 GB, free: 81.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009138/9.165, allocations: 138.2 kB / 2.637 GB, free: 81.17 MB / 0.9011 GB Notification: Performance of SimCode: time 1.083e-06/9.165, allocations: 2.25 kB / 2.637 GB, free: 81.17 MB / 0.9011 GB Notification: Performance of Templates: time 0.1382/9.304, allocations: 56.34 MB / 2.692 GB, free: 78.92 MB / 0.9011 GB