Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_Buildings_Obsolete_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 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.6 MB / 307.5 MB, free: 5.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 181 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 86.22 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003936, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.9/2.248, allocations: 448 MB / 1.426 GB, free: 243 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/2.248, allocations: 98.86 kB / 1.426 GB, free: 243 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.168/7.416, allocations: 1.281 GB / 2.707 GB, free: 85.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.575e-06/7.416, allocations: 0 / 2.707 GB, free: 85.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005962/7.417, allocations: 74.92 kB / 2.708 GB, free: 85.93 MB / 0.9636 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.01181/7.429, allocations: 3.244 MB / 2.711 GB, free: 83.69 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/7.429, allocations: 7.156 kB / 2.711 GB, free: 83.69 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/7.43, allocations: 263.6 kB / 2.711 GB, free: 83.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/7.436, allocations: 1.01 MB / 2.712 GB, free: 83.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008798/7.445, allocations: 2.948 MB / 2.715 GB, free: 80.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/7.445, allocations: 151.2 kB / 2.715 GB, free: 80.85 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009206/7.446, allocations: 203 kB / 2.715 GB, free: 80.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/7.453, allocations: 2.479 MB / 2.718 GB, free: 79.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/7.453, allocations: 11.84 kB / 2.718 GB, free: 79.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/7.453, allocations: 76.38 kB / 2.718 GB, free: 79.19 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/7.453, allocations: 46 kB / 2.718 GB, free: 79.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006001/7.459, allocations: 2.358 MB / 2.72 GB, free: 78.06 MB / 0.9636 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.01977/7.479, allocations: 12.14 MB / 2.732 GB, free: 67.49 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00638/7.485, allocations: 2.121 MB / 2.734 GB, free: 66.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/7.487, allocations: 1.368 MB / 2.735 GB, free: 64.94 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/7.487, allocations: 42.84 kB / 2.735 GB, free: 64.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002461/7.489, allocations: 278.2 kB / 2.736 GB, free: 64.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 7.944e-06/7.489, allocations: 0 / 2.736 GB, free: 64.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.03117/7.52, allocations: 8.293 MB / 2.744 GB, free: 59.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/7.52, allocations: 167.2 kB / 2.744 GB, free: 58.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/7.524, allocations: 1.87 MB / 2.746 GB, free: 57.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/7.524, allocations: 49.7 kB / 2.746 GB, free: 56.97 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/7.525, allocations: 1.191 MB / 2.747 GB, free: 55.77 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/7.526, allocations: 388.1 kB / 2.747 GB, free: 55.39 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/7.526, allocations: 28 kB / 2.747 GB, free: 55.36 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001051/7.526, allocations: 357.9 kB / 2.748 GB, free: 55.01 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/7.528, allocations: 0.8968 MB / 2.748 GB, free: 54.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/7.531, allocations: 1.37 MB / 2.75 GB, free: 52.54 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/7.534, allocations: 0.9844 MB / 2.751 GB, free: 51.56 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/7.534, allocations: 4 kB / 2.751 GB, free: 51.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00843/7.542, allocations: 2.998 MB / 2.754 GB, free: 48.55 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009599/7.543, allocations: 3.744 MB / 2.757 GB, free: 44.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/7.543, allocations: 8 kB / 2.757 GB, free: 44.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/7.549, allocations: 1.375 MB / 2.759 GB, free: 43.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/7.55, allocations: 331.5 kB / 2.759 GB, free: 42.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/7.563, allocations: 6.219 MB / 2.765 GB, free: 36.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/7.567, allocations: 391.4 kB / 2.765 GB, free: 36.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004705/7.567, allocations: 75.95 kB / 2.766 GB, free: 35.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/7.567, allocations: 5.875 kB / 2.766 GB, free: 35.94 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005632/7.573, allocations: 2.328 MB / 2.768 GB, free: 33.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/7.573, allocations: 11.94 kB / 2.768 GB, free: 33.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/7.576, allocations: 0.6671 MB / 2.769 GB, free: 32.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/7.578, allocations: 387.5 kB / 2.769 GB, free: 32.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/7.59, allocations: 6.864 MB / 2.776 GB, free: 25.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/7.594, allocations: 335.4 kB / 2.776 GB, free: 25.12 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/7.594, allocations: 82.97 kB / 2.776 GB, free: 25.05 MB / 0.9636 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.002055/7.596, allocations: 0.6143 MB / 2.777 GB, free: 24.42 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/7.597, allocations: 229.1 kB / 2.777 GB, free: 24.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/7.603, allocations: 2.509 MB / 2.779 GB, free: 21.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/7.603, allocations: 12 kB / 2.779 GB, free: 21.67 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/7.603, allocations: 3.953 kB / 2.779 GB, free: 21.67 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004281/7.607, allocations: 2.348 MB / 2.782 GB, free: 19.24 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/7.617, allocations: 4.868 MB / 2.786 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/7.618, allocations: 4 kB / 2.786 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/7.619, allocations: 271.7 kB / 2.787 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/7.622, allocations: 0.8172 MB / 2.787 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/7.622, allocations: 31.98 kB / 2.787 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/7.624, allocations: 1.473 MB / 2.789 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.624, allocations: 0 / 2.789 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/7.632, allocations: 3.596 MB / 2.792 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/7.634, allocations: 0.5135 MB / 2.793 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/7.634, allocations: 24 kB / 2.793 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/7.637, allocations: 319.5 kB / 2.793 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/7.637, allocations: 76.83 kB / 2.793 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/7.637, allocations: 47.95 kB / 2.793 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00252/7.639, allocations: 1.442 MB / 2.795 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.01e-07/7.64, allocations: 0 / 2.795 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006006/7.646, allocations: 1.285 MB / 2.796 GB, free: 4.34 MB / 0.9636 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.01005/7.656, allocations: 5.361 MB / 2.801 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009955/7.666, allocations: 3.803 MB / 2.805 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/7.666, allocations: 0 / 2.805 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/7.668, allocations: 0.9877 MB / 2.806 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005989/7.674, allocations: 1.129 MB / 2.807 GB, free: 9.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/7.697, allocations: 13.76 MB / 2.82 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/7.698, allocations: 1.68 MB / 2.822 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003078/7.701, allocations: 479.5 kB / 2.823 GB, free: 8.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/7.703, allocations: 1.038 MB / 2.824 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of SimCode: time 1.883e-06/7.703, allocations: 0 / 2.824 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7915/8.495, allocations: 85.4 MB / 2.907 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/8.495, allocations: 296.2 kB / 2.907 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.102/13.6, allocations: 2.078 kB / 2.907 GB, free: 120.7 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)