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.149/2.149, allocations: 252.6 MB / 265.2 MB, free: 5.688 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.001479/0.001479, allocations: 189.5 kB / 324.5 MB, free: 14.39 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.003/2.003, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001083/0.001082, allocations: 81.97 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.124e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.919/2.113, allocations: 438.8 MB / 1.323 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/2.113, allocations: 97.97 kB / 1.323 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.036/8.149, allocations: 1.241 GB / 2.564 GB, free: 69.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.894e-06/8.149, allocations: 0 / 2.564 GB, free: 69.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006012/8.15, allocations: 74.88 kB / 2.564 GB, free: 69.56 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.01166/8.162, allocations: 2.731 MB / 2.567 GB, free: 66.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/8.162, allocations: 8.031 kB / 2.567 GB, free: 66.77 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/8.174, allocations: 1.003 MB / 2.568 GB, free: 65.76 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/8.187, allocations: 2.914 MB / 2.571 GB, free: 62.78 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/8.187, allocations: 147.7 kB / 2.571 GB, free: 62.64 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000835/8.188, allocations: 200 kB / 2.571 GB, free: 62.44 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00818/8.197, allocations: 2.122 MB / 2.573 GB, free: 60.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.18e-05/8.197, allocations: 0.8594 kB / 2.573 GB, free: 60.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/8.197, allocations: 80 kB / 2.573 GB, free: 60.15 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/8.197, allocations: 52 kB / 2.573 GB, free: 60.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007437/8.205, allocations: 1.673 MB / 2.575 GB, free: 58.43 MB / 0.9011 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.0301/8.235, allocations: 12.12 MB / 2.587 GB, free: 45.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00967/8.245, allocations: 1.642 MB / 2.588 GB, free: 43.85 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/8.247, allocations: 0.6588 MB / 2.589 GB, free: 43.19 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/8.248, allocations: 1.37 MB / 2.59 GB, free: 41.52 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/8.248, allocations: 47.52 kB / 2.59 GB, free: 41.47 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002738/8.251, allocations: 282.5 kB / 2.591 GB, free: 41.19 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.63e-06/8.251, allocations: 0 / 2.591 GB, free: 41.19 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01118/8.262, allocations: 3.323 MB / 2.594 GB, free: 37.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/8.262, allocations: 167.2 kB / 2.594 GB, free: 37.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/8.266, allocations: 1.795 MB / 2.596 GB, free: 35.79 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004647/8.267, allocations: 56.33 kB / 2.596 GB, free: 35.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/8.268, allocations: 1.196 MB / 2.597 GB, free: 34.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/8.268, allocations: 386.4 kB / 2.597 GB, free: 34.14 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/8.269, allocations: 28 kB / 2.597 GB, free: 34.11 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001259/8.269, allocations: 361.9 kB / 2.598 GB, free: 33.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/8.27, allocations: 0.5507 MB / 2.598 GB, free: 33.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/8.273, allocations: 1.038 MB / 2.599 GB, free: 31.96 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/8.274, allocations: 0.6559 MB / 2.6 GB, free: 31.31 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/8.274, allocations: 4 kB / 2.6 GB, free: 31.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01226/8.287, allocations: 2.464 MB / 2.602 GB, free: 28.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007754/8.288, allocations: 3.739 MB / 2.606 GB, free: 24.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/8.288, allocations: 8 kB / 2.606 GB, free: 24.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007491/8.295, allocations: 1.082 MB / 2.607 GB, free: 23.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/8.298, allocations: 331.5 kB / 2.607 GB, free: 23.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/8.313, allocations: 5.28 MB / 2.613 GB, free: 17.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/8.318, allocations: 411.3 kB / 2.613 GB, free: 17.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/8.319, allocations: 75.95 kB / 2.613 GB, free: 17.44 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/8.319, allocations: 4 kB / 2.613 GB, free: 17.44 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01066/8.33, allocations: 2.097 MB / 2.615 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/8.33, allocations: 15.81 kB / 2.615 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/8.334, allocations: 0.5961 MB / 2.616 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/8.337, allocations: 387.5 kB / 2.616 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/8.353, allocations: 6.21 MB / 2.622 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/8.358, allocations: 362 kB / 2.622 GB, free: 7.535 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/8.359, allocations: 71.95 kB / 2.623 GB, free: 7.465 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 (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.0005426/8.359, allocations: 191.4 kB / 2.623 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/8.36, allocations: 233 kB / 2.623 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/8.365, allocations: 1.866 MB / 2.625 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/8.365, allocations: 19.98 kB / 2.625 GB, free: 5.156 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/8.365, allocations: 0 / 2.625 GB, free: 5.156 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/8.369, allocations: 1.697 MB / 2.626 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/8.38, allocations: 4.235 MB / 2.631 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/8.38, allocations: 4 kB / 2.631 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/8.382, allocations: 259.8 kB / 2.631 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/8.386, allocations: 0.6169 MB / 2.631 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/8.386, allocations: 35.97 kB / 2.631 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/8.389, allocations: 1.227 MB / 2.633 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/8.389, allocations: 3.953 kB / 2.633 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/8.396, allocations: 2.629 MB / 2.635 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/8.399, allocations: 0.5173 MB / 2.636 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005741/8.399, allocations: 23.56 kB / 2.636 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004275/8.403, allocations: 307.6 kB / 2.636 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/8.404, allocations: 76.84 kB / 2.636 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/8.404, allocations: 47.95 kB / 2.636 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003592/8.408, allocations: 1.371 MB / 2.638 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.61e-07/8.408, allocations: 4 kB / 2.638 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007616/8.415, allocations: 1.277 MB / 2.639 GB, free: 6.566 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.002961/8.418, allocations: 1.141 MB / 2.64 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01553/8.434, allocations: 2.962 MB / 2.643 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/8.434, allocations: 4 kB / 2.643 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/8.438, allocations: 0.7136 MB / 2.643 GB, free: 1.781 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01472/8.452, allocations: 1.13 MB / 2.645 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7205/9.173, allocations: 3.705 MB / 2.648 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/9.175, allocations: 1.683 MB / 2.65 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006082/9.181, allocations: 0.5957 MB / 2.65 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008595/9.182, allocations: 134.8 kB / 2.651 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/9.182, allocations: 1 kB / 2.651 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.1711/9.353, allocations: 67.44 MB / 2.716 GB, free: 101.7 MB / 0.9167 GB