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.162/2.162, allocations: 253.2 MB / 260.6 MB, free: 7.461 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.001496/0.001495, allocations: 185.4 kB / 319.9 MB, free: 3.07 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 1.97/1.97, allocations: 205.6 MB / 0.5709 GB, free: 15.25 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.001138/0.001137, allocations: 95.56 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.213e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1926, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.883/2.075, allocations: 439.4 MB / 1.318 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/2.076, allocations: 96.53 kB / 1.318 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.045/8.121, allocations: 1.236 GB / 2.553 GB, free: 31.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/8.121, allocations: 0 / 2.553 GB, free: 31.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004905/8.121, allocations: 82.19 kB / 2.553 GB, free: 31.05 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.009401/8.131, allocations: 2.729 MB / 2.556 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/8.131, allocations: 8.031 kB / 2.556 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009364/8.14, allocations: 1.007 MB / 2.557 GB, free: 27.27 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/8.151, allocations: 2.909 MB / 2.56 GB, free: 24.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/8.151, allocations: 56 kB / 2.56 GB, free: 24.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007062/8.151, allocations: 123.9 kB / 2.56 GB, free: 24.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00522/8.157, allocations: 1.569 MB / 2.562 GB, free: 22.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/8.162, allocations: 1.864 MB / 2.563 GB, free: 20.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-05/8.162, allocations: 7.938 kB / 2.563 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/8.163, allocations: 4 kB / 2.563 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.316e-05/8.163, allocations: 51.95 kB / 2.564 GB, free: 20.61 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.02547/8.188, allocations: 11.75 MB / 2.575 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006291/8.195, allocations: 1.392 MB / 2.576 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/8.196, allocations: 0.6535 MB / 2.577 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/8.198, allocations: 1.372 MB / 2.578 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/8.198, allocations: 47.81 kB / 2.578 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002714/8.2, allocations: 238.9 kB / 2.579 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 8.936e-06/8.201, allocations: 2.516 kB / 2.579 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.01503/8.216, allocations: 3.441 MB / 2.582 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/8.216, allocations: 167.5 kB / 2.582 GB, free: 448 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/8.22, allocations: 1.555 MB / 2.584 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004856/8.221, allocations: 25.7 kB / 2.584 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/8.223, allocations: 1.195 MB / 2.585 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008102/8.223, allocations: 374.4 kB / 2.585 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/8.224, allocations: 0 / 2.585 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002255/8.224, allocations: 357.9 kB / 2.586 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/8.226, allocations: 0.5429 MB / 2.586 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/8.228, allocations: 0.9955 MB / 2.587 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/8.231, allocations: 0.7263 MB / 2.588 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/8.231, allocations: 0 / 2.588 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01577/8.247, allocations: 2.38 MB / 2.59 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002144/8.249, allocations: 3.703 MB / 2.594 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.26e-05/8.25, allocations: 8 kB / 2.594 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008354/8.258, allocations: 0.8432 MB / 2.595 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/8.262, allocations: 367.5 kB / 2.595 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/8.284, allocations: 5.293 MB / 2.6 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007767/8.292, allocations: 371.3 kB / 2.6 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000719/8.293, allocations: 79.34 kB / 2.6 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/8.293, allocations: 4 kB / 2.6 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01699/8.31, allocations: 2.004 MB / 2.602 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.019e-05/8.31, allocations: 14.53 kB / 2.602 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/8.316, allocations: 0.5802 MB / 2.603 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/8.321, allocations: 391.4 kB / 2.603 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/8.341, allocations: 6.962 MB / 2.61 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/8.347, allocations: 315.5 kB / 2.61 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006793/8.348, allocations: 75.91 kB / 2.611 GB, free: 2.156 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 (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.000652/8.348, allocations: 136.9 kB / 2.611 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009632/8.349, allocations: 217.3 kB / 2.611 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/8.356, allocations: 1.773 MB / 2.613 GB, free: 16 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.7118/9.068, allocations: 17.97 kB / 2.613 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/9.068, allocations: 0 / 2.613 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005419/9.073, allocations: 1.646 MB / 2.614 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/9.086, allocations: 3.959 MB / 2.618 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/9.086, allocations: 2.25 kB / 2.618 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/9.089, allocations: 298.6 kB / 2.618 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/9.091, allocations: 385.1 kB / 2.619 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/9.091, allocations: 22.56 kB / 2.619 GB, free: 104 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/9.094, allocations: 1.529 MB / 2.62 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/9.094, allocations: 1.688 kB / 2.62 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007894/9.101, allocations: 2.492 MB / 2.623 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/9.104, allocations: 0.499 MB / 2.623 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007241/9.104, allocations: 3.203 kB / 2.623 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004811/9.109, allocations: 306.1 kB / 2.623 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/9.11, allocations: 79.56 kB / 2.624 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/9.11, allocations: 48.72 kB / 2.624 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003333/9.113, allocations: 1.164 MB / 2.625 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.022e-06/9.113, allocations: 0 / 2.625 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01074/9.124, allocations: 1.264 MB / 2.626 GB, free: 102.4 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 (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.003199/9.127, allocations: 1.142 MB / 2.627 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008222/9.136, allocations: 2.895 MB / 2.63 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/9.136, allocations: 0 / 2.63 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/9.138, allocations: 0.6705 MB / 2.631 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009696/9.148, allocations: 1.04 MB / 2.632 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/9.165, allocations: 3.641 MB / 2.635 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/9.168, allocations: 1.675 MB / 2.637 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006042/9.174, allocations: 0.5782 MB / 2.637 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009465/9.175, allocations: 144.4 kB / 2.637 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.413e-06/9.175, allocations: 0 / 2.637 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.1458/9.321, allocations: 56.32 MB / 2.692 GB, free: 98.05 MB / 0.9167 GB