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_Heating.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_Heating,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",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.129/2.129, allocations: 251 MB / 265.9 MB, free: 11.69 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.001562/0.001561, allocations: 175.7 kB / 325.5 MB, free: 2.906 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.328/2.328, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001113/0.001113, allocations: 86.34 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005051, allocations: 13.06 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.508, allocations: 438.8 MB / 1.327 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.508, allocations: 103.4 kB / 1.327 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.746/8.254, allocations: 1.245 GB / 2.572 GB, free: 92.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.366e-06/8.254, allocations: 0 / 2.572 GB, free: 92.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005639/8.255, allocations: 80.08 kB / 2.572 GB, free: 92.8 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.0135/8.269, allocations: 3.232 MB / 2.575 GB, free: 91.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/8.269, allocations: 11.47 kB / 2.575 GB, free: 91.4 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00126/8.27, allocations: 265.4 kB / 2.576 GB, free: 91.36 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009858/8.28, allocations: 1.006 MB / 2.577 GB, free: 91.19 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/8.292, allocations: 2.941 MB / 2.58 GB, free: 90.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/8.292, allocations: 149.8 kB / 2.58 GB, free: 90.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00066/8.293, allocations: 197.1 kB / 2.58 GB, free: 90.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009102/8.302, allocations: 2.473 MB / 2.582 GB, free: 90.37 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.635e-05/8.302, allocations: 7.094 kB / 2.582 GB, free: 90.36 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/8.302, allocations: 81.64 kB / 2.582 GB, free: 90.36 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/8.302, allocations: 46.66 kB / 2.582 GB, free: 90.36 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/8.313, allocations: 2.356 MB / 2.585 GB, free: 90.34 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.02687/8.34, allocations: 12.11 MB / 2.597 GB, free: 84.36 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/8.356, allocations: 2.333 MB / 2.599 GB, free: 84.33 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/8.358, allocations: 1.364 MB / 2.6 GB, free: 82.83 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/8.358, allocations: 48.69 kB / 2.6 GB, free: 82.79 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002891/8.361, allocations: 283.9 kB / 2.6 GB, free: 82.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 6.622e-06/8.361, allocations: 1.781 kB / 2.6 GB, free: 82.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.05694/8.418, allocations: 8.166 MB / 2.608 GB, free: 81.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/8.418, allocations: 170.7 kB / 2.609 GB, free: 81.65 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004731/8.422, allocations: 1.857 MB / 2.61 GB, free: 81.44 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005105/8.423, allocations: 51.8 kB / 2.61 GB, free: 81.41 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/8.424, allocations: 1.195 MB / 2.612 GB, free: 81.01 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00061/8.425, allocations: 392.9 kB / 2.612 GB, free: 80.76 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/8.425, allocations: 30.59 kB / 2.612 GB, free: 80.76 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001175/8.425, allocations: 360.9 kB / 2.612 GB, free: 80.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/8.43, allocations: 0.8918 MB / 2.613 GB, free: 80.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/8.435, allocations: 1.37 MB / 2.615 GB, free: 79.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004705/8.439, allocations: 0.9851 MB / 2.616 GB, free: 79.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/8.439, allocations: 3.844 kB / 2.616 GB, free: 79.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01522/8.455, allocations: 2.978 MB / 2.618 GB, free: 79.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000901/8.456, allocations: 3.752 MB / 2.622 GB, free: 75.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/8.456, allocations: 10.86 kB / 2.622 GB, free: 75.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009566/8.465, allocations: 1.318 MB / 2.623 GB, free: 75.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/8.468, allocations: 333.8 kB / 2.624 GB, free: 75.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/8.493, allocations: 6.213 MB / 2.63 GB, free: 73.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/8.499, allocations: 385.7 kB / 2.63 GB, free: 73.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/8.499, allocations: 81.47 kB / 2.63 GB, free: 73.58 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/8.499, allocations: 3.594 kB / 2.63 GB, free: 73.58 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/8.51, allocations: 2.313 MB / 2.633 GB, free: 73.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/8.51, allocations: 14.89 kB / 2.633 GB, free: 73.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004898/8.515, allocations: 0.6627 MB / 2.633 GB, free: 73.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/8.519, allocations: 398.9 kB / 2.634 GB, free: 73.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/8.542, allocations: 6.884 MB / 2.64 GB, free: 70.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/8.547, allocations: 333.5 kB / 2.641 GB, free: 70.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/8.548, allocations: 72.44 kB / 2.641 GB, free: 70.63 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.002112/8.55, allocations: 0.626 MB / 2.641 GB, free: 70.43 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008517/8.551, allocations: 229.3 kB / 2.642 GB, free: 70.31 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/8.562, allocations: 2.489 MB / 2.644 GB, free: 70.13 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/8.562, allocations: 20.59 kB / 2.644 GB, free: 70.13 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/8.562, allocations: 3.172 kB / 2.644 GB, free: 70.13 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009243/8.571, allocations: 2.335 MB / 2.646 GB, free: 69.62 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/8.59, allocations: 4.849 MB / 2.651 GB, free: 69.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/8.59, allocations: 1.594 kB / 2.651 GB, free: 69.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/8.592, allocations: 264.7 kB / 2.651 GB, free: 69.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/8.597, allocations: 0.776 MB / 2.652 GB, free: 69.11 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003461/8.598, allocations: 36.83 kB / 2.652 GB, free: 69.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/8.602, allocations: 1.46 MB / 2.653 GB, free: 68.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/8.602, allocations: 2.656 kB / 2.653 GB, free: 68.56 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/8.617, allocations: 3.579 MB / 2.657 GB, free: 68.08 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/8.619, allocations: 0.5135 MB / 2.657 GB, free: 67.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009163/8.62, allocations: 31.53 kB / 2.657 GB, free: 67.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/8.625, allocations: 310.9 kB / 2.658 GB, free: 67.83 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/8.626, allocations: 74.78 kB / 2.658 GB, free: 67.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/8.626, allocations: 49.81 kB / 2.658 GB, free: 67.82 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004366/8.63, allocations: 1.44 MB / 2.659 GB, free: 67.67 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.81e-07/8.631, allocations: 0 / 2.659 GB, free: 67.67 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008669/8.639, allocations: 1.288 MB / 2.661 GB, free: 67.62 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.01871/8.658, allocations: 5.345 MB / 2.666 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01657/8.675, allocations: 3.783 MB / 2.669 GB, free: 64.08 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/8.675, allocations: 0 / 2.669 GB, free: 64.08 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004736/8.679, allocations: 0.9994 MB / 2.67 GB, free: 63.79 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/8.69, allocations: 1.131 MB / 2.672 GB, free: 63.55 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/8.718, allocations: 13.75 MB / 2.685 GB, free: 52.62 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/8.719, allocations: 1.686 MB / 2.687 GB, free: 51.82 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004152/8.724, allocations: 470.9 kB / 2.687 GB, free: 51.73 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/8.727, allocations: 1.046 MB / 2.688 GB, free: 50.91 MB / 0.9011 GB Notification: Performance of SimCode: time 9.32e-07/8.727, allocations: 4 kB / 2.688 GB, free: 50.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2314/8.958, allocations: 85.13 MB / 2.771 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/8.958, allocations: 308.4 kB / 2.772 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.322/15.28, allocations: 64 / 2.772 GB, free: 10.09 MB / 0.9323 GB