Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.34/2.34, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001529, allocations: 184.6 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 103.9 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006668/0.0006669, allocations: 19.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2226, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.507, allocations: 439.2 MB / 1.328 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.508, allocations: 96.58 kB / 1.328 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.735/8.243, allocations: 1.245 GB / 2.573 GB, free: 92.14 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.677e-06/8.243, allocations: 0 / 2.573 GB, free: 92.14 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004915/8.243, allocations: 75.52 kB / 2.573 GB, free: 92.12 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.0123/8.256, allocations: 3.238 MB / 2.576 GB, free: 90.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/8.256, allocations: 7.75 kB / 2.576 GB, free: 90.72 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/8.257, allocations: 264.7 kB / 2.576 GB, free: 90.67 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/8.266, allocations: 1.001 MB / 2.577 GB, free: 90.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/8.276, allocations: 2.947 MB / 2.58 GB, free: 89.97 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/8.277, allocations: 157.3 kB / 2.58 GB, free: 89.97 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005802/8.277, allocations: 196.8 kB / 2.58 GB, free: 89.97 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008955/8.286, allocations: 2.473 MB / 2.583 GB, free: 89.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.56e-05/8.286, allocations: 10.34 kB / 2.583 GB, free: 89.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/8.287, allocations: 77.12 kB / 2.583 GB, free: 89.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-05/8.287, allocations: 52.06 kB / 2.583 GB, free: 89.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/8.298, allocations: 2.358 MB / 2.585 GB, free: 89.66 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.02585/8.324, allocations: 12.11 MB / 2.597 GB, free: 83.67 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/8.336, allocations: 2.104 MB / 2.599 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/8.337, allocations: 1.37 MB / 2.6 GB, free: 82.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/8.337, allocations: 53.28 kB / 2.601 GB, free: 82.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002959/8.34, allocations: 282.8 kB / 2.601 GB, free: 82.04 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 6.242e-06/8.34, allocations: 2.812 kB / 2.601 GB, free: 82.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.05443/8.395, allocations: 8.154 MB / 2.609 GB, free: 81.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/8.395, allocations: 165.7 kB / 2.609 GB, free: 80.96 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/8.4, allocations: 1.867 MB / 2.611 GB, free: 80.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.00048/8.4, allocations: 57.25 kB / 2.611 GB, free: 80.72 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/8.402, allocations: 1.199 MB / 2.612 GB, free: 80.31 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000653/8.402, allocations: 386.8 kB / 2.612 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/8.403, allocations: 24.22 kB / 2.612 GB, free: 80.07 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001291/8.403, allocations: 368.2 kB / 2.613 GB, free: 79.76 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/8.407, allocations: 0.8954 MB / 2.614 GB, free: 79.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/8.412, allocations: 1.363 MB / 2.615 GB, free: 79.22 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/8.417, allocations: 0.9826 MB / 2.616 GB, free: 79.17 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/8.417, allocations: 7.812 kB / 2.616 GB, free: 79.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01503/8.432, allocations: 2.982 MB / 2.619 GB, free: 78.92 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008729/8.433, allocations: 3.739 MB / 2.622 GB, free: 74.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/8.433, allocations: 11.61 kB / 2.622 GB, free: 74.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009344/8.442, allocations: 1.32 MB / 2.624 GB, free: 74.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/8.445, allocations: 333.4 kB / 2.624 GB, free: 74.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/8.467, allocations: 6.224 MB / 2.63 GB, free: 72.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/8.473, allocations: 388.4 kB / 2.631 GB, free: 72.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/8.473, allocations: 75.88 kB / 2.631 GB, free: 72.84 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/8.473, allocations: 3.875 kB / 2.631 GB, free: 72.84 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009741/8.483, allocations: 2.32 MB / 2.633 GB, free: 72.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/8.483, allocations: 15.5 kB / 2.633 GB, free: 72.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004787/8.488, allocations: 0.6606 MB / 2.634 GB, free: 72.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/8.491, allocations: 392.2 kB / 2.634 GB, free: 72.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/8.514, allocations: 6.88 MB / 2.641 GB, free: 69.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005369/8.52, allocations: 339.5 kB / 2.641 GB, free: 69.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/8.52, allocations: 73.14 kB / 2.641 GB, free: 69.89 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.002047/8.522, allocations: 0.6145 MB / 2.642 GB, free: 69.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008247/8.523, allocations: 233.3 kB / 2.642 GB, free: 69.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/8.533, allocations: 2.493 MB / 2.644 GB, free: 69.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/8.534, allocations: 15.47 kB / 2.644 GB, free: 69.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/8.534, allocations: 3.938 kB / 2.644 GB, free: 69.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008891/8.542, allocations: 2.333 MB / 2.647 GB, free: 68.88 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/8.559, allocations: 4.858 MB / 2.651 GB, free: 68.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/8.559, allocations: 0 / 2.651 GB, free: 68.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002572/8.561, allocations: 263.8 kB / 2.652 GB, free: 68.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00487/8.566, allocations: 0.7682 MB / 2.652 GB, free: 68.38 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/8.567, allocations: 35.41 kB / 2.652 GB, free: 68.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003842/8.571, allocations: 1.461 MB / 2.654 GB, free: 67.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/8.571, allocations: 3.344 kB / 2.654 GB, free: 67.82 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/8.585, allocations: 3.586 MB / 2.657 GB, free: 67.34 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/8.587, allocations: 0.5156 MB / 2.658 GB, free: 67.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006192/8.588, allocations: 28.22 kB / 2.658 GB, free: 67.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004266/8.592, allocations: 305.9 kB / 2.658 GB, free: 67.09 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/8.592, allocations: 77.31 kB / 2.658 GB, free: 67.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/8.593, allocations: 47.66 kB / 2.658 GB, free: 67.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00367/8.596, allocations: 1.444 MB / 2.66 GB, free: 66.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.21e-07/8.596, allocations: 0 / 2.66 GB, free: 66.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007669/8.604, allocations: 1.281 MB / 2.661 GB, free: 66.88 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.01709/8.621, allocations: 5.353 MB / 2.666 GB, free: 64.68 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01498/8.636, allocations: 3.785 MB / 2.67 GB, free: 63.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/8.636, allocations: 0 / 2.67 GB, free: 63.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004294/8.64, allocations: 0.9942 MB / 2.671 GB, free: 63.02 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009528/8.65, allocations: 1.127 MB / 2.672 GB, free: 62.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/8.676, allocations: 13.76 MB / 2.685 GB, free: 51.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/8.678, allocations: 1.678 MB / 2.687 GB, free: 51.06 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004098/8.682, allocations: 478.5 kB / 2.687 GB, free: 50.97 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/8.685, allocations: 1.033 MB / 2.688 GB, free: 50.16 MB / 0.9011 GB Notification: Performance of SimCode: time 1.423e-06/8.685, allocations: 6.062 kB / 2.688 GB, free: 50.16 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/8.889, allocations: 85.13 MB / 2.772 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003752/8.89, allocations: 307.2 kB / 2.772 GB, free: 9.539 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.188/15.08, allocations: 3.281 kB / 2.772 GB, free: 9.539 MB / 0.9323 GB