Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.818/1.818, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001046/0.001046, allocations: 183.5 kB / 371.8 MB, free: 10.28 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.776/1.776, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 102.5 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004435, allocations: 11.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2795, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.459, allocations: 447.1 MB / 1.416 GB, free: 14.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.459, allocations: 97.27 kB / 1.416 GB, free: 14.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.172/6.631, allocations: 1.281 GB / 2.698 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.216e-06/6.631, allocations: 0 / 2.698 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005159/6.632, allocations: 84.73 kB / 2.698 GB, free: 107.1 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.01306/6.645, allocations: 3.233 MB / 2.701 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/6.645, allocations: 10.12 kB / 2.701 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/6.646, allocations: 262.8 kB / 2.701 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007393/6.653, allocations: 1.008 MB / 2.702 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/6.664, allocations: 2.956 MB / 2.705 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/6.664, allocations: 148.8 kB / 2.705 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006885/6.665, allocations: 197.1 kB / 2.705 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007573/6.673, allocations: 2.488 MB / 2.708 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/6.673, allocations: 5.844 kB / 2.708 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/6.673, allocations: 79.56 kB / 2.708 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-05/6.673, allocations: 53.33 kB / 2.708 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008126/6.681, allocations: 2.352 MB / 2.71 GB, free: 104.6 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.02495/6.706, allocations: 12.15 MB / 2.722 GB, free: 98.61 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008742/6.715, allocations: 2.107 MB / 2.724 GB, free: 98.58 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/6.716, allocations: 1.371 MB / 2.725 GB, free: 97.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/6.717, allocations: 51.19 kB / 2.725 GB, free: 97.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002888/6.719, allocations: 273.3 kB / 2.726 GB, free: 96.98 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 7.704e-06/6.719, allocations: 5.375 kB / 2.726 GB, free: 96.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.03827/6.758, allocations: 8.296 MB / 2.734 GB, free: 96.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/6.758, allocations: 169.8 kB / 2.734 GB, free: 95.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/6.761, allocations: 1.868 MB / 2.736 GB, free: 95.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002941/6.762, allocations: 49.58 kB / 2.736 GB, free: 95.65 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000954/6.763, allocations: 1.198 MB / 2.737 GB, free: 95.24 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/6.763, allocations: 389.1 kB / 2.737 GB, free: 95 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/6.763, allocations: 26.81 kB / 2.737 GB, free: 95 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001127/6.763, allocations: 360.8 kB / 2.738 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/6.765, allocations: 0.888 MB / 2.739 GB, free: 94.69 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/6.768, allocations: 1.374 MB / 2.74 GB, free: 94.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/6.77, allocations: 0.9882 MB / 2.741 GB, free: 94.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/6.77, allocations: 3.688 kB / 2.741 GB, free: 94.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007873/6.778, allocations: 2.992 MB / 2.744 GB, free: 93.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/6.779, allocations: 3.736 MB / 2.747 GB, free: 89.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/6.779, allocations: 7.906 kB / 2.747 GB, free: 89.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005364/6.785, allocations: 1.369 MB / 2.749 GB, free: 89.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/6.786, allocations: 330.2 kB / 2.749 GB, free: 89.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/6.799, allocations: 6.233 MB / 2.755 GB, free: 87.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/6.803, allocations: 391 kB / 2.756 GB, free: 87.76 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000571/6.804, allocations: 75.98 kB / 2.756 GB, free: 87.76 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/6.804, allocations: 4.031 kB / 2.756 GB, free: 87.76 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006687/6.811, allocations: 2.326 MB / 2.758 GB, free: 87.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/6.811, allocations: 7.094 kB / 2.758 GB, free: 87.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/6.813, allocations: 0.6652 MB / 2.759 GB, free: 87.63 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/6.815, allocations: 402.6 kB / 2.759 GB, free: 87.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/6.828, allocations: 6.843 MB / 2.766 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/6.832, allocations: 346.8 kB / 2.766 GB, free: 84.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/6.832, allocations: 78.58 kB / 2.766 GB, free: 84.82 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.002163/6.835, allocations: 0.6192 MB / 2.767 GB, free: 84.62 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008796/6.835, allocations: 230.3 kB / 2.767 GB, free: 84.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006841/6.842, allocations: 2.502 MB / 2.769 GB, free: 84.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/6.842, allocations: 11.69 kB / 2.769 GB, free: 84.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/6.842, allocations: 3.953 kB / 2.769 GB, free: 84.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004909/6.847, allocations: 2.349 MB / 2.772 GB, free: 83.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/6.86, allocations: 4.864 MB / 2.776 GB, free: 81.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/6.86, allocations: 7.5 kB / 2.776 GB, free: 81.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/6.861, allocations: 265.7 kB / 2.777 GB, free: 81.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003336/6.864, allocations: 0.81 MB / 2.777 GB, free: 81.25 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/6.865, allocations: 34.42 kB / 2.777 GB, free: 81.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/6.867, allocations: 1.482 MB / 2.779 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/6.867, allocations: 0 / 2.779 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009128/6.876, allocations: 3.604 MB / 2.782 GB, free: 78.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/6.879, allocations: 0.5204 MB / 2.783 GB, free: 78.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/6.88, allocations: 22.97 kB / 2.783 GB, free: 78.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003848/6.884, allocations: 312.2 kB / 2.783 GB, free: 78.46 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/6.885, allocations: 69.72 kB / 2.783 GB, free: 78.45 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/6.885, allocations: 55.84 kB / 2.783 GB, free: 78.44 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004732/6.89, allocations: 1.441 MB / 2.785 GB, free: 77.86 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.91e-07/6.89, allocations: 0 / 2.785 GB, free: 77.86 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009301/6.899, allocations: 1.286 MB / 2.786 GB, free: 77.67 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.01158/6.911, allocations: 5.358 MB / 2.791 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009402/6.92, allocations: 3.801 MB / 2.795 GB, free: 73.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/6.92, allocations: 3.25 kB / 2.795 GB, free: 73.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002508/6.923, allocations: 0.9941 MB / 2.796 GB, free: 73.39 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006598/6.929, allocations: 1.126 MB / 2.797 GB, free: 73.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/6.952, allocations: 13.77 MB / 2.811 GB, free: 62.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/6.955, allocations: 1.675 MB / 2.812 GB, free: 61.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003594/6.959, allocations: 477 kB / 2.813 GB, free: 61.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/6.961, allocations: 1.045 MB / 2.814 GB, free: 60.52 MB / 0.9636 GB Notification: Performance of SimCode: time 1.403e-06/6.961, allocations: 0 / 2.814 GB, free: 60.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/7.119, allocations: 85.42 MB / 2.897 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/7.119, allocations: 299.7 kB / 2.897 GB, free: 296 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.336/12.46, allocations: 0 / 2.897 GB, free: 296 kB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)